most likely you will have to patch 
JBOSS_HOME/server/instance/deploy/jbossweb-tomcat50.sar/catalina.jar with a 
patched Authenticators.properties to point out the new FormAuthenticator 
subclass.

I dislike the idea of overriding the FormAuthenticator class, much nicer to 
hook into the request pipeline with an independant valve such as the 
FormAuthValve. For my needs it suffice to:

1. In web.xml set form-error-page to login-error-client-redirect.jsp that does  
  | <%-- do an extra request/response roundtrip --%>
  | <body onLoad="window.location = 'login-error.jsp'"/> 
  | . 
2. Have login-error.jsp format the LoginException that was set in the session 
by Scott's FormAuthValve.

/niklas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865387#3865387

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865387


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to