Adding login pages

The underlying UI framework enables you to set up more than one login page.

About this task

Procedure

  1. Install the application.
  2. Decide how you want to implement multiple login pages, using one of the following ways:
    • The default implementation provided in the underlying UI framework.

      If no customized login page provider is given, the default implementation reads the following web.xml file <context-param> parameters:

      <param-name>scui-login-page</param-name>
      <param-value>/myapp/console/login.jsp</param-value>
    • A customized implementation that is plugged into the underlying UI framework.
  3. For a customized implementation, specify your custom login page provider in web.xml using the scui-login-page-provider parameter.

    Example:

    <context-param> 
     	<param-name>scui-login-page-provider</param-name>
      <param-value>com.app.MyLoginPageProvider</param-value>
    </context-param>

    This provider will be accessed by the getLoginPage() method of ISCUILoginPageProvider. The custom implementation must use the interface contract defined in the ISCUILoginPageProvider class.

    To implement the customized Java™ code, build a jar file that contains the Java class, and then install the jar file using the install3rdparty.sh script. To implement this customization, rebuild the EAR or WAR file as you did during the installation, and then deploy the application on the application server.