Configuring web.xml File (FILE)

To configure the authentication process type as FILE, the authentication property file and session timeout in the web.xml file, follow these steps:

Procedure

  1. Navigate to the ASG_HOME/webapp/ASGConfig/WEB-INF directory.
  2. Open the web.xml file for editing.
  3. Set the following properties. See Authentication Properties table for the description of properties.
    1. Set the authentication process type to FILE as follows:
            <init-param>
            <param-name>asgAuthProcess</param-name>
            <param-value>FILE</param-value>
            </init-param>
    2. Set the property file for the FILE-based authentication as follows:
            <init-param>
            <param-name>asgAuthPropFile</param-name>
            <param-value>Path to the user credentials file</param-value>
            </init-param>
    3. Set the timeout value for the login session of the user on the Config UI as follows:
            <session-config>
            <session-timeout>An integer value in minutes</session-timeout>
            </session-config>
  4. Save the changes to the file.
    Note:
    • If the configuration is of the authentication type, the authentication property file and session timeout parameters are done in both the asg-configui.tra and web.xml files. The asg-configui.tra file has the precedence over the web.xml file.
    • If you want to use the web.xml for configuring the session timeout, remove the ASGSessionTimeOut property from the asg-configui.tra file.