5 (Conditional) If you need to support only one language, modify the prompt in the
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
The following steps assume you want to change the username prompt to an e-mail address
prompt.
6a Find the following definition in the
unzipped
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
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
File with Custom Credentials," on page
8 To specify which customized
main.jsp
Modifying the 3.1 login.jsp File
The
login.jsp
branding header. If you use this page, you are responsible for writing the HTML code for the header
and the branding.
1 Copy the
following directory:
Linux:
Windows Server 2003:
Windows Server 2008:
68
Novell Access Manager 3.1 SP2 Identity Server Guide
Section 2.3.1, "Customizing Messages," on page
file.
nidp.jar
nidp.jsp
file. Continue with
"Adding Logic to the main.jsp File" on page
file gives you just the credential frame with the login prompts in an iframe. It has no
file and rename it. The JSP files are located on the Identity Server in the
login.jsp
/var/opt/novell/tomcat5/webapps/nidp/jsp
\Program Files\Novell\Tomcat\webapps\nidp\jsp
\Program Files (x86)\Novell\Tomcat\webapps\nidp\jsp
com/novell/nidp/resource/jsp
WEB-INF/classes
Section 2.4.2, "Custom nidp.jsp
88.
to display with the contract, you must modify the
login.jsp
80.)
directory of the
directory of each Identity
73.
Need help?
Do you have a question about the ACCESS MANAGER 3.1 SP2 - IDENTITY SERVER GUIDE 2010 and is the answer not in the manual?
Questions and answers