Customizing Login Pages, Logout Pages, and Messages
75
n
ov
do
cx (e
n)
16
Ap
ril 20
10
For example, to add an email address to the login prompts, add the following property:
Property Name:
Query
Property Value:
(&(objectclass=person)(mail=%Ecom_User_ID%)
)
If you are creating a method for Contract 1 in the example above (which prompts for a
username and password), you do not need to add a query property unless you are using an
attribute other than the cn attribute for the username.
1d
In the Properties section, add a JSP property to specify which
login.jsp
file to use with
this method.
For example:
Property Name:
JSP
Property Value:
login2
1e
Click
Finish
.
1f
If you have created more than one custom
login.jsp
file, repeat
Step 1b
through
Step 1e
for each page.
To configure the scenario described in this section, repeat these steps for three login pages.
2
Create a unique contract URI:
2a
In the Administration Console, click
Contracts
.
2b
Click
New
, then configure the following fields:
Display name:
Specify a name for the contract. You might want to use a name that
indicates which login page is assigned to this contract.
URI:
Specify a value that uniquely identifies the contract from all other contracts. No
spaces can exist in the URI field. You might want to use a name that indicates the custom
login page and custom credential page, such as
login1/custom1
.
Methods and Available Methods:
Select the authentication method you configured in
Step 1
.
2c
Configure the other fields to meet your network requirements, then click
Next
.
2d
Configure the authentication card, then click
Finish
.
2e
(Conditional) If you have created multiple custom login pages, repeat
Step 2b
through
Step 2d
for each page.
To configure the scenario described in this section, repeat these steps for /login2/custom2
and /login3/custom3.
2f
Click
OK
, then update the Identity Server.
3
Modify the
main.jsp
file:
3a
Open the
main.jsp
file. The file is located 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
3b
Near the top of the file, add the following line:
String strContractURI = hand.getContractURI();
Содержание ACCESS MANAGER 3.1 SP2 - README 2010
Страница 4: ...4 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Страница 12: ...12 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Страница 158: ...158 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Страница 172: ...172 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Страница 182: ...182 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Страница 290: ...290 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Страница 362: ...362 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...
Страница 374: ...374 Novell Access Manager 3 1 SP2 Identity Server Guide novdocx en 16 April 2010...