The Method and the Contract
After modifying the two files, you still need to create a method and a contract. The method needs to
use a name/password class and have the following properties defined:
Query property values:
Property Name:
Query
Property Value:
(&(objectclass=person)(mail=%Ecom_User_Mail%))
JSP property values:
Property Name:
JSP
Property Value: <filename>
Replace <filename> with the name of your login page that modifies the credential prompts. Do
not include the JSP extension in the value.
You then need to create a contract that uses this method and assign it to a protected resource.
2.4.3 Custom 3.1 login.jsp File
To create this type of page, you need to start with the
Manager 3.1 and then add the required code for a header.
Custom Page Derived from the 3.1 login.jsp File
Figure 2-9
To create this page, see the following sections:
"The Modified login.jsp File" on page 95
"The Method and the Contract" on page 98
The Modified login.jsp File
This custom page does not modify the credential frame. The lines that define the window title (HHB
CUSTOM LOGIN), the page header title (IT'S A NEW WORLD), and the image (
are marked in bold in the following sample file.
file that ships with Access
login.jsp
Figure 2-9
illustrates such a page.
Customizing Login Pages, Logout Pages, and Messages
)
hhbimages.png
95
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