Sample Custom Login Pages
A
Section A.1, "Modified login.jsp File for Credential Prompts," on page 293
Section A.2, "Custom nidp.jsp File with Custom Credentials," on page 296
Section A.3, "Custom 3.1 login.jsp File," on page 303
Section A.4, "Custom 3.0 login.jsp File," on page 306
A.1 Modified login.jsp File for Credential
Prompts
The following code is a modified version of the 3.1
prompt for the user's email address.
produce.
Custom Credentials
Figure A-1
Such a JSP file must be used with a contract that uses a method that defines the query for the new
attribute. The method also needs to define which login file has been modified to display the prompt.
For more information about this process, see
Different Credentials" on page
The sample code contains the following the text for the prompt:
<td align=left>
<label>Email Address:</label>
</td>
It also adds an input element for the query variable:
<td align=left>
<input type="text" class="smalltext" name="Ecom_User_Mail" size="30">
</td>
These elements are both part of the new
marked in bold in the following sample file.
login.jsp
Figure A-1
illustrates the login page that these changes
"Customizing the Default Login Page to Prompt for
31.
element that has been added to the file. These lines are
<tr>
file. It has been modified to add a
Sample Custom Login Pages
A
293
Need help?
Do you have a question about the ACCESS MANAGER 3.1 SP1 - IDENTITY SERVER and is the answer not in the manual?