i-Planet Administration Guide

General

Each authentication module has a properties file that can be used to customize the HTML pages that are displayed to the end user. The properties file for each module is located in /etc/opt/SUNWstnr on the i-Planet server. For example, the UNIX authentication modules properties file is /etc/opt/SUNWstnr/Unix.properties.

Each authentication module has a TIMEOUT parameter that can be modified in the corresponding /etc/opt/SUNWstrnr/authenication_module.properties file. This time-out specifies the number of seconds that the end users have to submit the screen before the time-out page displays. The default for each module is 60 seconds.

For example, if you want to make sure that the end users using UNIX login have two minutes (120 seconds) to login, change the TIMEOUT parameter in the /etc/opt/SUNWstnr/Unix.properties from 60 to 120.

For each HTML page that is sent for the authentication module, there is a keyword SCREEN followed by keyword TEXT, followed by any number of the keywords TOKEN and PASSWORD. Each screen may also contain an optional TIMEOUT keyword. For example, the Unix.properties file contains the following entries as shown in Missing Cross Reference Target


SCREEN

TIMEOUT 60

TEXT Unix User Password Login

TOKEN Enter Your UserId

PASSWORD Enter Your Password
.


Note -

You cannot change the ordering of any of the tokens.


TIMEOUT--specifies the number of seconds the authentication module will wait before sending the user a login session time-out page.

TOKEN--Each TOKEN keyword causes an input box to be displayed. The text after the keyword is displayed above the input box. You cannot change the ordering of the tokens.

PASSWORD--Each PASSWORD keyword causes an input box to be displayed. The text after the keyword will be displayed above the input box. The only difference between the TOKEN and PASSWORD is the PASSWORD text will not be echoed, but will be asterisks. You cannot change the ordering of the tokens.

IMAGE--This keyword instructs the authentication module to replace the standard i-Planet image with the image following the keyword. The image should be placed in /opt/SUNWjeev/public_html/images. This image should be a gif file.

HTML--This keyword tells the authentication module that you want to override the dynamic HTML generation and supply your own HTML page. The authentication modules expect to receive URL parameters specific to each type of authentication. If you override the HTML for a module, your HTML page must supply the correct number and names of the parameters and show a small section of the HTML necessary for the UNIX page. Missing Cross Reference Target shows a section of HTML code for the UNIX page.


<P><STRONG>Enter Your UserId</STRONG><BR>

<INPUT TYPE=" NAME=TOKEN0 SIZE="22"></P>

<P><STRONG>Enter Your Password</STRONG><BR>

<INPUT TYPE="PASSWORD" NAME=TOKEN1 SIZE="22"></P>

The UNIX module expects the user ID and password in the parameters TOKEN0 and TOKEN1. To ensure you have the correct HTML you should go to that authentication page and view the HTML source.