68
Novell Access Manager 3.1 SP2 Identity Server Guide
n
ov
do
cx (e
n)
16
Ap
ril 20
10
5
(Conditional) If you need to support only one language, modify the prompt in the
login.jsp
file:
5a
Find the following string in the file:
<label><%=handler.getResource(JSPResDesc.USERNAME)%></label>
5b
Replace it with the string you want, for example:
<label>Email Address:</label>
5c
Copy the modified file to each Identity Server in the cluster.
5d
Back up your customized file.
6
(Conditional) If you need to localize the prompt for multiple languages, create a custom
message properties file for the login prompt. (For more information on how to create a custom
message properties file, see
Section 2.3.1, “Customizing Messages,” on page 80
.)
The following steps assume you want to change the username prompt to an e-mail address
prompt.
6a
Find the following definition in the
com/novell/nidp/resource/jsp
directory of the
unzipped
nidp.jar
file.
JSP.50=Username:
6b
Add this definition to your custom properties file and modify it so that it prompts the user
for an e-mail address.
JSP.50=Email Address:
6c
Translate the value and add this entry to your localized custom properties files.
6d
Copy the customized properties files to the
WEB-INF/classes
directory of each Identity
Server in the cluster.
6e
Restart Tomcat on each Identity Server.
Linux Identity Server:
Enter the following command:
/etc/init.d/novell-tomcat5 restart
Windows Identity Server:
Enter the following commands:
net stop Tomcat5
net start Tomcat5
7
To view a sample custom page with these modifications, see
Section 2.4.2, “Custom nidp.jsp
File with Custom Credentials,” on page 88
.
8
To specify which customized
nidp.jsp
to display with the contract, you must modify the
main.jsp
file. Continue with
“Adding Logic to the main.jsp File” on page 73
.
Modifying the 3.1 login.jsp File
The
login.jsp
file gives you just the credential frame with the login prompts in an iframe. It has no
branding header. If you use this page, you are responsible for writing the HTML code for the header
and the branding.
1
Copy the
login.jsp
file and rename it. The JSP files are located on the Identity Server in the
following directory:
Linux:
/var/opt/novell/tomcat5/webapps/nidp/jsp
Windows Server 2003:
\Program Files\Novell\Tomcat\webapps\nidp\jsp
Windows Server 2008:
\Program Files (x86)\Novell\Tomcat\webapps\nidp\jsp
Summary of Contents for ACCESS MANAGER 3.1 SP2 - README 2010
Page 4: ...4 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Page 12: ...12 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Page 158: ...158 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Page 172: ...172 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Page 182: ...182 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Page 290: ...290 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Page 362: ...362 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Page 374: ...374 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...