Novell ACCESS MANAGER 3.1 SP1 - IDENTITY SERVER Manual page 46

Identity server guide
Table of Contents

Advertisement

<%
%>
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.*"
%>
<%
46
Novell Access Manager 3.1 SP1 Identity Server Guide
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
// or a method definition that should be displayed
// as the main jsp here?
if (hand.contractDefinesMainJSP())
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

This manual is also suitable for:

Access manager 3.1 sp1

Table of Contents