This page is for documenting adjusting the CAS SSO session duration and for collecting information about implementing "remember me" in CAS wherein authenticated CAS sessions would last longer than just a browser session.
In CAS 2
Out of the box parameters
In web.xml, you can adjust ticket timeouts. Specifically, the ticket granting ticket timeout is specified as the context parameter "edu.yale.its.tp.cas.grantingTimeout". It is specifed in seconds, and its default value is two hours.
<!-- Timeout for granting tickets --> <context-param> <param-name>edu.yale.its.tp.cas.grantingTimeout</param-name> <param-value>7200</param-value> </context-param>
Implementing "remember me"
In CAS 3
Out of the box parameters
In /WEB-INF/cas.properties, you can adjust ticket expiration policy. Specifically, to change the ticket granting ticket timeout, you would adjust policy.expiration.granting.timeOut=7200000 , which specifies ticket granting ticket expiration in milliseconds. Its default value is two hours.