Re: Servlet authentication on Tomcat 5.5.7
- From: "Daniel Rohe" <daniel.rohe@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 10:06:53 +0200
The Sun JDK provides a JAAS module for authentication against an NT machine
(com.sun.security.auth.module.NTLoginModule). With this JAAS login module
you can use the JAASRealm and a JAAS security configuration to authenticate
against user database of the NT machine on which the web server runs.
Daniel
"Fran Cottone" <nickmphillips@xxxxxxxxxxx> schrieb im Newsbeitrag
news:7b07bf9c.0504190615.cd6736a@xxxxxxxxxxxxxxxxxxxxx
> request.getRemoteUser() returns null, therefore, authentication has
> not been enabled.
>
> I want to be able to get hold of the Windows 2000 login id of the
> person invoking my JSP in their web browser. Given that the version of
> Tomcat I am using is running on a Windows 2000 box, I would have
> assumed that the web container would have an in-built implementation
> of getRemoteUser tailored to returning the Windows login of any one
> connecting to it or their netware login.
>
> I have searched, but haven't managed to find a simple means of
> enabling this kind of authentication. Surely, this should be a basic
> feature of a web server i.e. click a checkbox, or set a property in an
> xml file.
>
> Many thanks in advance.
.
- References:
- Servlet authentication on Tomcat 5.5.7
- From: Fran Cottone
- Servlet authentication on Tomcat 5.5.7
- Prev by Date: Re: .equals question
- Next by Date: Java Messaging Or Webservice....
- Previous by thread: Servlet authentication on Tomcat 5.5.7
- Next by thread: [STRUTS] InitialContex contex uri
- Index(es):
Relevant Pages
|