| GAS Configuration Reference / Configuration file elements | |
Selects the AUTO_LOGOUT mechanism to be used for an application. It takes the attribute Using, where you can reference a predefined AUTO_LOGOUT_COMPONENT (to inherit the auto logout parameters of that component).
If the AUTO_LOGOUT is set, the application will get a log out message after the time in seconds specified by the TIMEOUT (for auto logout) element has elapsed.
By default the ending page or pop-up window shows the following message when auto logout occurs : You have been logged out.
<AUTO_LOGOUT Using="auto_logout_component_Id"></AUTO_LOGOUT>
When your applications reference the default application defaultwa, they inherit its AUTO_LOGOUT settings, which use the default AUTO_LOGOUT_COMPONENT identified by the Id value "cpn.wa.autologout", as shown in the examples from the GAS configuration file.
<APPLICATION Id="defaultwa" Abstract="TRUE">
<!-- This is the "default" application.
It is not used directly: it is used for defining a "root" application. -->
<EXECUTION Using="cpn.wa.execution.local"/>
<AUTO_LOGOUT Using="cpn.wa.autologout"/>
...
</APPLICATION>
<COMPONENT_LIST>
...
<AUTO_LOGOUT_COMPONENT Id="cpn.wa.autologout">
<TIMEOUT>0</TIMEOUT>
<!--COMMAND Timeout="20">auto-logout-allowed.sh</COMMAND-->
</AUTO_LOGOUT_COMPONENT>
...
</COMPONENT_LIST>
<APPLICATION Parent="defaultwa">
<EXECUTION>
<PATH>my_app_dir</PATH>
<MODULE>my_module</MODULE>
</EXECUTION/>
<AUTO_LOGOUT>
<TIMEOUT>30</TIMEOUT>
<!--COMMAND Timeout="20">auto-logout-allowed.sh</COMMAND-->
</AUTO_LOGOUT>
...
</APPLICATION>
There are no child elements.
This element is a child of the following element: APPLICATION (for an application)