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-INF
directory and open theweb.xml
file with any text editor.Find the
session-config
property and edit thesession-timeout
value (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-param
Save and close the file.
Activate the session timeout dialog box:
Navigate to the
pentaho-server/pentaho-solutions/system
directory and open theapplicationContext-spring-security-cas.xml
file then locate thehttpSessionPentahoSessionContextIntegrationFilter
bean id.Find the
ssoEnabled
property 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
Was this helpful?