Enabling automatic redirection

About this task

To configure automatic redirection, complete the following steps:

Procedure

  1. Open the WebSEAL configuration file for editing.
  2. Enable automatic redirection for each of the applicable authentication methods by uncommenting the entry for each method in the [enable-redirects] stanza:
    [enable-redirects]
    redirect = forms-auth
    redirect = basic-auth
    redirect = cert-auth
    redirect = ext-auth-interface
    redirect = oidc
    The example above enables automatic redirection for forms authentication, basic authentication, certificate authentication, and EAI authentication.
  3. Specify the URL to which the user is redirected after login. The URL can be expressed as either an absolute URL or a server-relative URL, with or without an embedded macro.
    For example:
    [acnt-mgt] 
    login-redirect-page = http://www.ibm.com

    or:

    [acnt-mgt] 
    login-redirect-page = /jct/intro-page.html

    or:

    [acnt-mgt] 
    login-redirect-page = /jct/intro-page.html?level=%AUTHNLEVEL%&url=%URL%
  4. Stop and restart the WebSEAL server.