Hi,
I am trying to separate all work from within one large filter, into two
smaller filters. One filter for handling authentication/authorisation
and another to handle url redirecting.
However the authentication filter must run before the rewriting filter.
Is there a way to specify in tomcat the order the filters must be placed
in the filter chain.
See web.xml content below.
Thanks for any help or feedback!
Jacob
<filter>
<filter-name>AuthorisationFilter</filter-name>
<filter-class>au.edu.unimelb.mim.AuthorisationFilter</filter-class>
</filter>
<filter>
<filter-name>RewriteFilter</filter-name>
<filter-class>au.edu.unimelb.mim.RewriteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>AuthorisationFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>RewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
___________________________________
Jacob Rhoden
http://www.jacobrhoden.com/
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]