The Artima Developer Community
Sponsored Link

Java Answers Forum
LAN authentication in intranet application

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Cervellati Andrea

Posts: 1
Nickname: andcerve
Registered: Nov, 2002

LAN authentication in intranet application Posted: Nov 8, 2002 12:16 AM
Reply to this message Reply
Advertisement
Hi, I'm developing a intranet application that is supposed to authenticate the users based on LAN security authentication.
I'm using the J2EE 1.3 Reference Implementation on a Windows 2000 platform.
I'd like the user to avoid the form login and go directly inside the intranet application with the lan username. And I'd like to retrive the username in the code just using the getRemoteUser() (or similar) method from servlets and getCallerPrincipal() (or similar) method from EJBs. Is that possible?
I read that I have to configure the realm in J2EE SDK. I saw there are only 2 realm, the default and the certificate, is it possible to add another one and map it to the LAN authentication? If so how can I do that?
And then in my web.xml should I add the <login-config> tag? And how about the ejb-jar.xml?
I've been looking for answers on this topic for many days and I haven't found any yet (the java tutorials and forums couldn't help me)! Please help!! Thanx in advance! Bye .

Topic: Java Help Previous Topic   Next Topic Topic: text files

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use