CAS client 3.1.3 setup in web.xml

Emi Lu emilu at encs.concordia.ca
Wed Jul 2 16:11:54 EDT 2008


 From
http://www.ja-sig.org/products/cas/client/javaclient/index.html

There is setup for CAS client 2.0.1, however when I download CAS client 
3.1.3, this CAS filter setup does not see work anymore.

Could someone point me out
1. where is the web.xml setup for CAS client 3.1.3
2. CAS Server 3.x setup

Thanks a lot!




<web-app>
   ...
   <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://secure.its.yale.edu/cas/login</param-value>
     </init-param>
     <init-param>
 
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
 
<param-value>https://secure.its.yale.edu/cas/serviceValidate</param-value>
     </init-param>
     <init-param>
 
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
        <param-value>your server name and port (e.g., 
www.yale.edu:8080)</param-value>
     </init-param>
  </filter>

  <filter-mapping>
     <filter-name>CAS Filter</filter-name>
     <url-pattern>/requires-cas-authetication/*</url-pattern>
  </filter-mapping>
   ...
  </web-app>



More information about the cas mailing list