Mix Gateway and Secure

Andrew Petro apetro at unicon.net
Wed Jul 11 04:56:19 EDT 2007


Dom,

Excellent.  I'm glad to hear that works for you, it's one of those use 
cases I recall was considered but I'm not confident has been thoroughly 
exercised.

Would you be willing to find a suitable place in the wiki and write up a 
page on your use case and how you successfully implemented it?  It's a 
nice vignette of composeable filters and the flexibility of the CAS client.

Andrew

> I've gotten it to work with the following filter order and url mapping.
>
>   <filter-mapping>
>     <filter-name>Gateway Authentication Filter</filter-name>
>     <url-pattern>/*</url-pattern>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>CAS Authentication Filter</filter-name>
>     <url-pattern>/secure/*</url-pattern>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>CAS Validation Filter</filter-name>
>     <url-pattern>/*</url-pattern>
>   </filter-mapping>
>
> The Gateway Authentication Filter is AuthenticationFilter with Gateway
> set to true.
>
>
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>   



More information about the cas mailing list