It's not a secret anymore!*
The moose likes Servlets and the fly likes How to handle response codes from LDAP server in Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to handle response codes from LDAP server in Servlets" Watch "How to handle response codes from LDAP server in Servlets" New topic
Author

How to handle response codes from LDAP server in Servlets

suneel kumar
Ranch Hand

Joined: Jan 08, 2007
Posts: 46
Hi
I am new to the LDAP server. I am able to authenticate the user using LDAP server in JSP, but i have no idea how to handle the responses(error codes) from the LDAP server.

Can any one guide me to handle response codes for scanarios..

1)Successful authentication
2)UserName invalid
3)Password invalid
4)Password length
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to handle response codes from LDAP server in Servlets
 
Similar Threads
JAAS Login Module: HOw to extract user id and password from web service request.
LDAP 'meaningful response' question
How to handle LDAP response in servlets
best practice for authentication and role assignation.
WAS Security