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 ...
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 ...