Configure Custom Session Timeout for Workflow Task Client
This configuration is applicable to all applications using Proficy Authentication (UAA).
About this task
Use this procedure to configure details for custom session timeout (below 30 minutes) for Workflow Task Client.
To configure custom session timeout, you must update the following two files:
- uaa.yml
- web.xml
This functionality is available from Workflow 2.6 SP2 SIM1.
Procedure
-
When you require a session timeout below 30 minutes, update the following code
snippet for the following two files:
- The uaa.yml file located at the
C:\ProgramData\GE\Operations Hub\uaa-config.
For example, if we consider to configure session timeout for 15
minutes:
servlet: session-cookie: max-age: 800 #(should be less than 900)
- The web.xml file located at the app and
site level:
- C:\Program Files\GE\Operations Hub\iqp-tomcat\webapps\app\WEB-INF
- C:\Program Files\GE\Operations Hub\iqp-tomcat\webapps\site\WEB-INF
XML <session-config> <session-timeout>15</session-timeout> <tracking-mode>COOKIE</tracking-mode> <cookie-config> <name>IQP_SITE</name> <path>/site</path> <max-age>900</max-age> </cookie-config> </session-config>
Note: The max-age value in uaa.yml must be set in seconds and less than the session timeout configured in the web.xml file.Note: The Session Timeout (30 minutes or above) requires no additional configuration. - The uaa.yml file located at the
C:\ProgramData\GE\Operations Hub\uaa-config.
For example, if we consider to configure session timeout for 15
minutes:
-
Save the file and restart the following two services:
- GE Proficy Authentication Tomcat Web Server
- GE Operations Hub IQP Tomcat Web Server