LoginModule works, but i don't know how to display LoginException on the error page.
I use web.xml with:
<login-config>
<auth-method>FORM</auth-method>
<realm-name>IPS Anmeldung</realm-name>
<form-login-config>
<form-login-page>/fc/login</form-login-page>
<form-error-page>/fc/login?login_error=1</form-error-page>
</form-login-config>
</login-config>
I use login-config.xml with
<application-policy name = "other">
<login-module code = "xxx.jaasmodules.MyLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">guest</module-option>
</login-module>
</application-policy>
and of course ejb-jar.xml and jboss-web.xml for RoleConfiguration
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841847#3841847
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841847
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user