While here it would be nice to set up the error handling a bit nicer. It seems we always get
ava.lang.SecurityException: User name or password is invalid.
Caused by: javax.security.auth.login.LoginException: LDAP Error
I suspect this may be down to the response we get from LDAP, however, we get this error no matter what the configuration issue, bad password, invalid role matching criteria,
invalid domain name (non-existant). It would really increase the usability of the module to be a bit more specific if possible. Otherwise, I'll settle for the values we are using
like the above example.