Connection timeout issues when using CAS
Connection timeout issues when using CAS with the Pentaho Server can result in the inability to login or re-load data in the web client page until you refresh the page. If you have problems with the session timing out, perform the following steps to configure the session timeout:
Stop the Pentaho Server.
Navigate to the
pentaho-server/tomcat/webapps/pentaho/WEB-INFdirectory and open theweb.xmlfile with any text editor.Find the
session-configproperty and edit thesession-timeoutvalue (the default value is 120 minutes) to increase the period to a value that is greater than the setting used for your CAS server session timeout value:<session-config> <tracking-mode>COOKIE</tracking-mode> <session-timeout>120</session-timeout> </session-config>Locate the Pentaho Web Context Filter and add the following
init-param:<init-param> <param-name>ssoEnabled</param-name> <param-value>true</param-value> </init-paramSave and close the file.
Activate the session timeout dialog box:
Navigate to the
pentaho-server/pentaho-solutions/systemdirectory and open theapplicationContext-spring-security-cas.xmlfile then locate thehttpSessionPentahoSessionContextIntegrationFilterbean id.Find the
ssoEnabledproperty and set the value from true tofalse.Save and close the file.
Restart the Pentaho Server.
If the session does timeout, a session timeout dialog box will now warn users when the session expires and then will reauthenticate the session through CAS when the dialog box is closed.
Last updated

