Displaying LDAP login errors on login page
Cantor, Scott
cantor.2 at osu.edu
Wed Mar 28 16:41:46 BST 2012
> What matters is what the JAAS login module returns, not what OpenLDAP
> does. (Not that it doesn't give you something, just saying.) When using AD, I
> get back the specific codes inside the error messages, so I think it's probably
> possible.
I looked at my error handler. What you want *may* be in the exception property's getCause() method return. I think that's the wrapped error. But that may only be because I have code in my login handler's JAAS logic wrapping the exception myself, I don't know for sure.
-- Scott
More information about the users
mailing list