Installation guide

SAP Template Files
156 Sun ONE Identity Server Policy Agents 2.1 Web Policy Agents Guide April 2005
SAP Template Files
Along with the SAP Service file (
sapdll.srvc
), a template directory needs to be
created under
ADM/templates
and it must contain the default templates. These
templates are presented here. You can create these files manually at this location:
templates\pasname\<99>\login.html
templates\pasname\<99>extautherror.html
templates\pasname\<99>\redirect.html
Template file login.html
Table 6-8 Required Parameters in
global.srvc
Parameter Value
~client 000
~cookies 1
~exiturl http://s1is_host:port/amserver/UI/Logout
~login (space)
~password (space)
~xgateway sapdiag
~xgateways sapxgadm,sapdiag,sapxgwfc,sapxginet,sapxgbc,sapextauth
~mysapcomgetsso2cookie 1
~mysapcomusesso2cookie 1
~mysapcomnosso1cookie 1
~mysapcomssonoits 1
Code Example 6-1 Template file
login.html
‘declare fieldEcho, getLanguages in "sapxjutil";‘
<!--
Copyright SAP AG 2002
Remark: Example Login Template.
You can write your own scripts by using BHTML and JScript
-->
‘if (~extauthtype == "LDAP")‘