1. sakai.properties
top.login=false
container.login=true
#login.icon=/library/image/cas_login.gif
xlogin.enabled=true
xlogin.text=Guests
#xlogin.icon=/library/image/xlogin_login.gif
logout.icon=/library/image/cas_logout.gif
loggedOutUrl=https://cas.csufresno.edu:8443/logout?service=http://sakai.pilot.csufresno.edu/
login.use.xlogin.to.relogin=false (to have xlogin works)
2. /webapps/sakai-login-tool/WEB-INF/lib/ -> add casclient.jar
3. /webapps/sakai-login-tool/WEB-INF/web.xml
<filter-mapping>
<filter-name>sakai.request.container</filter-name>
<servlet-name>sakai.login.container</servlet-name>
<dispatcher>REQUEST</dispatcher>
</filter-mapping><!-- CAS filter. If you wish to use CAS then you must uncomment this section
and the documented one above, then fill in the approriate values for your CAS server.
The casclient.jar is already deployed in this webapp. -->
<filter>
<filter-name>sakai.cas</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://casserver/loginhttps://cas.csufresno.edu:8443/login</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>https://cas/serviceValidate</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>sakai.pilot.csufresno.edu</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>sakai.cas</filter-name>
<url-pattern>/container</url-pattern>
</filter-mapping><servlet>
<servlet-name>sakai.login</servlet-name>