Hi,
Using JBoss AS 5.1.0GA now, trying to create a custom login module from DatabaseServerLoginModule, but the exception still could not be populated to the session attribute when we need to tell the end user the real reason of login failure.
Tried adding changes to the context.xml:
<!-- Add the ExtendedFormAuthenticator to get access to the username/password/exception ->
<Context cookies="true" crossContext="true">
<Valve className="org.jboss.web.tomcat.security.ExtendedFormAuthenticator"
includePassword="true" ></Valve>
</Context>
based on the post: http://community.jboss.org/wiki/ExtendedFormAuthenticator
but somehow it just does not work.
Any hints?
Thanks,
Eric