glottis
asked on
Active Directory Authentication
In ASP I can easily authenticate the user using the IIS feature. In JSP how is this possible ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
more information on J2ee web security:
http://www.onjava.com/pub/a/onjava/2001/08/06/webform.html
http://www.onjava.com/pub/a/onjava/2001/08/06/webform.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Plumppudding,
Will this example work in every scenario ?
no matter what application server I'm using... etc...
or does it have some specific requirements which I should meet.
Will this example work in every scenario ?
no matter what application server I'm using... etc...
or does it have some specific requirements which I should meet.
I guess it should as long as JNDI jar is in your classpath. I tried it in tomcat
Plumppudding
Plumppudding
ASKER
oh ok thanks a bunch
Hi,
This solution is fine, but if I am using a popup window for the userid/pwd, (auth-method = BASIC), then how do I capture the password. I understand that the user id can be captured by
getUserPrincipal() or getRemoteUser(). My client does not want a login page. Hence I cannot provide one and filter the password field.
Please help me in this regard.
Thanks in advance!
-Zuke
This solution is fine, but if I am using a popup window for the userid/pwd, (auth-method = BASIC), then how do I capture the password. I understand that the user id can be captured by
getUserPrincipal() or getRemoteUser(). My client does not want a login page. Hence I cannot provide one and filter the password field.
Please help me in this regard.
Thanks in advance!
-Zuke
ASKER
Am... it would be nice if you would as a seperate question.
ASKER