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. <div>From what I know, the authentication is performed using JAAS in the class <b>UsernamePasswordLoginServlet</b>, 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. <div>
<div><br></div><div>Also, I think you should post it to the developers newsletter and not the user one now.</div></div></div><div><br></div><div>I hope this helps,</div><div>Marco</div>