Link to home
Start Free TrialLog in
Avatar of glottis
glottisFlag for Pakistan

asked on

Active Directory Authentication

In ASP I can easily authenticate the user using the IIS feature. In JSP how is this possible ?
SOLUTION
Avatar of Kuldeepchaturvedi
Kuldeepchaturvedi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glottis

ASKER

ill get back onto this question... checking the URL
Avatar of kennethxu
kennethxu

more information on J2ee web security:
http://www.onjava.com/pub/a/onjava/2001/08/06/webform.html
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glottis

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.
I guess it should as long as JNDI jar is in your classpath. I tried it in tomcat

Plumppudding
Avatar of glottis

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
Avatar of glottis

ASKER

Am... it would be nice if you would as a seperate question.