Versions Compared

Key

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

...

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.

Code Block
xml
xml

    <!-- 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"

...

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.

Implementing "remember me"