The Method And The Contract; Custom 3.1 Login.jsp File; The Modified Login.jsp File - Novell ACCESS MANAGER 3.1 SP1 - IDENTITY SERVER Manual

Identity server guide
Table of Contents

Advertisement

A.2.3 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.
A.3 Custom 3.1 login.jsp File
To create this type of page, you need to start with the login.jsp that ships with Access Manager 3.1
and then add the required code for a header.
Custom Page Derived from the 3.1 login.jsp File
Figure A-6
To create this page, see the following sections:
Section A.3.1, "The Modified login.jsp File," on page 303
Section A.3.2, "The Method and the Contract," on page 306
A.3.1 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 (ITS A NEW WORLD), and the image (
are marked in bold in the following sample file.
Figure A-6
illustrates such a page.
)
hhbimages.png
Sample Custom Login Pages 303

Advertisement

Table of Contents
loading

This manual is also suitable for:

Access manager 3.1 sp1

Table of Contents