Configure unprotected URL's
Timothy Tagge
tplimited at gmail.com
Tue Jan 13 15:30:23 EST 2009
Hi,
I have CAS protecting all the URL's in several applications via a
filter mapping like the following....
<filter>
<filter-name>CAS Filter</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
<param-value>https://loclahost:8443/SSO/login</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>https://localhost:8443/SSO/serviceValidate</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serviceUrl</param-name>
<param-value>https://localhost:8443/ADC/home.htm</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.wrapRequest</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
I have a requirement for certain URLs within the applications to be
unprotected so that they can be pinged by monitoring processes to
ensure they are up, the database connection is responding correctly
and the version of the application can be verified.
Is there a straightforward approach to doing this, or will it involve
setting up many filter mappings that all map to the same filter?
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/protected1</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/protected2</url-pattern>
</filter-mapping>
More information about the cas
mailing list