AuthenticationException « ldap « Java Enterprise Q&A





1. Is there a neater way to analyse the AuthenticationException for the error code?    stackoverflow.com

Is there a neater way to check the javax.naming.AuthenticationException (or spring) for the main failure reason? The different errors are desciribed in LDAP Wiki (Binding Errors). The AuthenticationException provides no ...

2. InitialDirContext throws sometimes no AuthenticationException    stackoverflow.com

This code snippet works for correct user/password combinations with the values I use to configure the properties, i.e. no exceptions are thrown/catched. When i provide an invalid user/password combination, I get ...