Displaying LDAP login errors on login page

Marco Zanini marco.zanini at lero.ie
Wed Mar 28 16:38:02 BST 2012


I'm actually working on a similar different topic, developing an extension
that authenticates the user trough LDAP and changes the type of
authentication based on certain parameteres.
>From what I know, the authentication is performed using JAAS in the class *
UsernamePasswordLoginServlet*, which is called from
UsernamePasswordLoginHandler. If the password inserted is correct, it
returns to the AuthenticationEngine while if it's not correct it simply
passes to the jsp page a parameter that tells the page the login failed. So
if you want you can modify that class to extract some information from the
LDAP directory and pass them to the jsp page but I don't know the classes
to do this or if there's a java library available.

Also, I think you should post it to the developers newsletter and not the
user one now.

I hope this helps,
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20120328/6d706f55/attachment-0001.html 


More information about the users mailing list