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

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

Advertisement

This sets the
for authentication. These lines should look similar to the following:
<%
%>
3c After the
For example:
else if(strContractURI != null && strContractURI.equals("login1/
custom1"))
%>
<%
else if(strContractURI != null && strContractURI.equals("login2/
custom2"))
%>
else if(strContractURI != null && strContractURI.equals("login3/
custom3"))
%>
These
Your file should look similar to the following:
<%@ page language="java" %>
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.novell.nidp.*" %>
<%@ page import="com.novell.nidp.resource.jsp.*" %>
<%@ page import="com.novell.nidp.ui.*" %>
<%@ page import="com.novell.nidp.common.util.*" %>
<%@ page import="com.novell.nidp.liberty.wsf.idsis.apservice.schema.*"
%>
<%
76
Novell Access Manager 3.1 SP2 Identity Server Guide
strContractURI
ContentHandler hand = new ContentHandler(request,response);
String strContractURI = hand.getContractURI();
// Is there a JSP defined on a class definition or a method
// definition that should be displayed as the main jsp here?
if (handler.contractDefinesMainJSP())
{
statement, add an
if
{
<%@ include file="custom1.jsp" %>
}
{
<%@ include file="custom2.jsp" %>
{
<%@ include file="custom3.jsp" %>
statements set up three contracts for customized login pages:
else if
The first
statement specifies the URI of the login1 contract and configures it
else if
to display the
custom1.jsp
The second
statement specifies the URI of the login2 contract and
else if
configures it to display the
The third
statement specifies the URI of the login3 contract and configures
else if
it to display the
custom3.jsp
ContentHandler hand = new ContentHandler(request,response);
String strContractURI = hand.getContractURI();
// Is there a JSP defined on a class definition
variable to the value of the contract URI that is being used
statement for each contract URI you have created.
else if
page for authentication.
page for authentication.
custom2.jsp
page for authentication.

Advertisement

Table of Contents
loading

Table of Contents