LAN authentication in intranet application
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andrea_Cervellati
Posted On:   Thursday, November 7, 2002 11:57 PM

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?    More>>

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 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 .

   <<Less

Re: LAN authentication in intranet application

Posted By:   Francis_Upton  
Posted On:   Wednesday, January 15, 2003 01:48 AM

If you are using an HTTP connection, you can use the Java HTTP Client that I developed, it supports NTLM authentication and is plug compatible with the HttpURLConnection class. NTLM authentication is what is used on the Windows NT/2000 platform.


http://www.nogoop.com


Francis

About | Sitemap | Contact