Novell ACCESS MANAGER 3.1 SP2 - IDENTITY SERVER GUIDE 2010 Manual page 73

Identity server guide
Hide thumbs Also See for ACCESS MANAGER 3.1 SP2 - IDENTITY SERVER GUIDE 2010:
Table of Contents

Advertisement

Property Value:
The property value for the JSP property is the name of the custom login file without the
extension. Replace
JSP
determines which login page is displayed when this method is used. The filename cannot
contain
as part of its name.
nidp
1f Click OK.
For more information about setting property values, see
Common Class Properties," on page
1g (Conditional) If you created multiple custom login pages, repeat
for each page.
2 For each method that you modified for a custom login page, create a contract:
2a Click Contracts, then click New.
2b Fill in the fields to fit the needs of the resource, but make sure to assign the custom
method as the method for the contract.
2c Click Next, configure a card for the contract, then click Finish.
3 Update the Identity Server.
4 For each resource that you have created a custom login page, assign that resource to use the
contract that is configured to display the appropriate login page:
4a Click Devices > Access Gateways > Edit > [Reverse Proxy Name] > [Proxy Service
Name] > Protected Resources.
4b For each protected resource that you have created a custom contract for, select the
protected resource, then configure it to use the custom contract.
5 Update the Access Gateway.
6 (Conditional) If the custom page does not display correctly, see
"Troubleshooting Tips for Custom Login Pages," on page
Adding Logic to the main.jsp File
You can modify the
main.jsp
Identity Server must be running 3.1 SP1 or later to use this feature. Be aware of the following:
The
file cannot be renamed, so any modifications you make to this file can be lost
main.jsp
whenever you upgrade the Identity Server. During the upgrade, you must select to restore
custom files or you must restore your modified file after the upgrade. If this is the only JSP file
that you modified that uses an Identity Server name, it is probably best to manually restore this
file after an upgrade.
Modifying the
main.jsp
Modifying the
main.jsp
You can create multiple customized
, and
custom2.jsp
You can create multiple customized
For example:
login1.jsp: Configured to request username and password.
login2.jsp: Configured to request username, email, and password.
custom1
with the name of your custom login file. This property
custom1
120.
file and use the contract URI to specify the login page to display. The
file requires knowledge of JSP programming and if/else statements.
file allows you to have the following type of configuration:
nidp.jsp
.
custom3.jsp
login.jsp
Customizing Login Pages, Logout Pages, and Messages
Section 3.2.2, "Specifying
Step 1b
Section 2.1.3,
77.
pages. For example:
custom1.jsp,
pages that request different login credentials.
through
Step 1e
73

Advertisement

Table of Contents
loading

Table of Contents