Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleLogin Block
<\!-\- CAS Authentication Filter (Login) \-->
&nbsp;&nbsp;
   <filter>
&nbsp;&nbsp;&nbsp;&nbsp;
     <filter-name>CASFilter</filter-name>
&nbsp;&nbsp;&nbsp;&nbsp;
     <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
&nbsp;&nbsp;&nbsp;&nbsp;
     <init-param>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;       <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;       <param-value>https://YOUR_CAS_SERVER_HOST_ADDRESS_HERE/cas/login</param-value>
&nbsp;&nbsp;&nbsp;&nbsp; 
     </init-param>
&nbsp;&nbsp;&nbsp;&nbsp;
     <init-param>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;       <param-value>https://YOUR_CAS_SERVER_HOST_ADDRESS_HERE/cas/serviceValidate</param-value>
&nbsp;&nbsp;&nbsp;&nbsp;
     </init-param>

&nbsp;&nbsp;&nbsp;&nbsp;     <init-param>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <param-name>edu.yale.its.tp.cas.client.filter.wrapRequest</param-name>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;       <param-value>true</param-value>
&nbsp;&nbsp;&nbsp;&nbsp;
     </init-param>

   &nbsp;&nbsp;&nbsp; </filter>
Code Block
titleLogout Block
<\!-\- CAS Logout Filter and Logout Mapping-->
&nbsp; <filter>
&nbsp;&nbsp;&nbsp; <filter-name>LogoutFilter</filter-name>
&nbsp;&nbsp;&nbsp; <filter-class>edu.yale.its.tp.cas.client.filter.LogoutFilter</filter-class>
&nbsp;&nbsp;&nbsp; <init-param>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <param-name>edu.yale.its.tp.cas.client.filter.logoutUrl</param-name>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <param-value>https://YOUR_CAS_SERVER_HOST_ADDRESS_HERE/cas/logout</param-value>
&nbsp;&nbsp;&nbsp; </init-param>
&nbsp; </filter>

&nbsp; <filter-mapping>
&nbsp;&nbsp;&nbsp; <filter-name>LogoutFilter</filter-name>
&nbsp;&nbsp;&nbsp; <url-pattern>/logout/*</url-pattern>
&nbsp; </filter-mapping>

...