Customizing Login Pages, Logout Pages, and Messages
95
n
ov
do
cx (e
n)
16
Ap
ril 20
10
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
login.jsp
file that ships with Access
Manager 3.1 and then add the required code for a header.
Figure 2-9
illustrates such a page.
Figure 2-9
Custom Page Derived from the 3.1 login.jsp File
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 (
hhbimages.png
)
are marked in bold in the following sample file.
Содержание 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...