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