The Sun spec team has said that filters can't be applied to j_security_check.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21795

-Tim

Frank Febbraro wrote:

Using Tomcat 4.1.x

In looking at the source it seems that there is no simple way to hook into the Login process to get notified of successes or failures (dammit). So I was attempting to servlet filter the j_security_check and do my own pre/post processing. However I am unable to filter it. Is this URL specifically ignored by the filtering mechanism?

My web.xml file looks as such...

 <filter>
  <filter-name>login</filter-name>
  <filter-class>raider.portal.servlet.LoginFilter</filter-class>
 </filter>

 <filter-mapping>
  <filter-name>login</filter-name>
  <url-pattern>/j_security_check</url-pattern>
 </filter-mapping>

Kinda running out of options at this point, anyone else had a problem similar to needing to audit the login results?

Thanks in advance,
Frank


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to