• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to handle response codes from LDAP server in Servlets

 
suneel kumar
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!