137N/A<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
137N/A
1276N/A<!--
137N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
1345N/A
137N/A Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
137N/A
919N/A The contents of this file are subject to the terms
919N/A of the Common Development and Distribution License
919N/A (the License). You may not use this file except in
919N/A compliance with the License.
919N/A
919N/A You can obtain a copy of the License at
919N/A https://opensso.dev.java.net/public/CDDLv1.0.html or
919N/A opensso/legal/CDDLv1.0.txt
919N/A See the License for the specific language governing
919N/A permission and limitations under the License.
919N/A
919N/A When distributing Covered Code, include this CDDL
919N/A Header Notice in each file and include the License file
919N/A at opensso/legal/CDDLv1.0.txt.
919N/A If applicable, add the following below the CDDL Header,
919N/A with the fields enclosed by brackets [] replaced by
919N/A your own identifying information:
137N/A "Portions Copyrighted [year] [name of copyright owner]"
137N/A
137N/A $Id: input.html,v 1.7 2008/08/19 19:08:22 veiming Exp $
137N/A
493N/A-->
137N/A
137N/A<html>
1370N/A<head>
137N/A <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
911N/A <title>OpenAM - Samples - Service Configuration</title>
1370N/A <link rel="stylesheet" href="/sample.css" />
1370N/A</head>
1370N/A
911N/A<body style="background-color: rgb(255, 255, 255);" link="#0000ff" vlink="#800080">
137N/A
1370N/A<table border="0" cellpadding="4" cellspacing="8" width="100%">
137N/A <tr>
137N/A <td class="bannerContentLeft" align="center" width="20%"><a href="http://www.sun.com"><img src="..//sunLogo.gif" border="0"></a></td>
137N/A <td class="bannerContentCenter" nowrap="nowrap" valign="bottom" width="60%">OpenAM<br>Sample</td>
137N/A <td class="bannerContentRight" nowrap="nowrap" valign="bottom" width="20%">&nbsp;</td>
137N/A </tr>
137N/A</table>
493N/A
969N/A<table border="0" cellpadding="4" cellspacing="8" width="100%">
137N/A <tr>
970N/A <td><h2>Policy Evaluator Client Sample</h2></td>
970N/A <td align="right"><p><a href="/am-samples.html">Back to Access Management Samples</a></p></td>
970N/A </tr>
970N/A</table>
970N/A
970N/A<p>
970N/AThis is to demonstrate policy evaluation. We can create policies on the server and then use this servlet to get policy decision results. For example, create a policy with resource "http://www.sun.com" where all authenticated users can access it. Then under the resource text box, enter http://www.sun.com.
970N/A</p>
137N/A
493N/A<form name="form2" action="/Policy" method="POST">
137N/A<table>
137N/A <tr>
493N/A <td>Organization:</TD>
137N/A <td><input type="text" name="orgname" size="16" maxlength="24" value="/"></td></tr>
493N/A <tr>
137N/A
137N/A <tr>
137N/A <td>Username:</TD>
137N/A <td><input type="text" name="username" size="16" maxlength="24" value="amadmin"></td>
970N/A </tr>
970N/A
970N/A <tr>
137N/A <td>Password:</td>
<td><input type="password" name="password" size="16" maxlength="24"> </td>
</tr>
<tr>
<td>Service Name:</TD>
<td><input type="text" name="servicename" size="16" maxlength="96" value="iPlanetAMWebAgentService"></td>
</tr>
<tr>
<td>Resource:</TD>
<td><input type="text" name="resource" size="16" maxlength="96"></td>
</tr>
<tr><td colspan="2" align="center">
<input type=submit value="Submit" name=submit>
<input type=reset value="Reset" name=reset>
</td>
</tr>
</table>
</form>
</body>
</html>