tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: ServletFilter on j_security_check
Date Fri, 30 Jan 2004 12:29:39 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message