Installation guide
SAP Template Files
158 Sun ONE Identity Server Policy Agents 2.1 • Web Policy Agents Guide • April 2005
<option value="en">No allowed languages specified! Using English as
default.</option>
‘end‘
</select>
</td></tr>
‘end‘
<!-- for the PAS Types NTLM and HTTP the users dont have to input any things.
for NTPassword and LDAP the Users might have to input settings like
login and password
Remark: Administrator can predefine such things in service file like
~login hasso
~password 1972
-->
‘if (~extauthtype == "NTPassword")‘
<tr><td>Login:</td><td><input name="~login"
value="‘~login‘"></td></tr><tr><td>
<input name="~logininput" type="hidden" value="1">
</td></tr>
‘if (~password=="")‘
<tr><td>Password:</td><td><input type=password name="~password"
value=""></td></tr><tr><td>
<input name="~passwdinput" type="hidden" value="1"></td></tr>
‘end‘
‘if (~extauthtype=="NTPassword")‘
<tr><td>NT domain:</td><td><input name="~ntdomain"
value="‘~ntdomain‘"></td></tr>
‘end‘
‘end‘
‘if (~extauthtype == "LDAP")‘
‘if (~login=="")‘<tr><td>Login:</td><td><input type=text name="~login"
value="‘~login‘"></td></tr><tr><td>
<input name="~logininput" type="hidden" value="1">
</td></tr>
‘end‘
‘if (~password=="")‘
<tr><td>Password:</td><td><input type=password name="~password"
value=""></td></tr><tr><td>
<input name="~passwdinput" type="hidden" value="1"></td></tr>
‘end‘
‘end‘
‘if (~extauthtype == "DLL")‘
‘if (~login=="")‘<tr><td>Login:</td><td><input type=text name="~login"
value="‘~login‘"></td></tr><tr><td>
<input name="~logininput" type="hidden" value="1">
</td></tr>
‘end‘
‘if (~password=="")‘
<tr><td>Password:</td><td><input type=password name="~password"
value=""></td></tr><tr><td>
<input name="~passwdinput" type="hidden" value="1"></td></tr>
‘end‘
Code Example 6-1 Template file
login.html