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