The Web UI Framework enables you to set up more than one login page. Login pages can be
used for different organizations or other groupings of users. You also can set up a customized
implementation of multiple login pages.
About this task
To add a login page, use the following procedure:
Procedure
- Install the application with the Web UI Framework.
- Decide how you want to implement multiple login pages, using one of the following
ways:
- The default implementation provided in the Web 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 Web UI Framework.
- 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.