urlpolicy.html revision 6406210b71fd4a97800f32f3613eea9b6a6a12ce
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
The contents of this file are subject to the terms
of the Common Development and Distribution License
(the License). You may not use this file except in
compliance with the License.
You can obtain a copy of the License at
https://opensso.dev.java.net/public/CDDLv1.0.html or
opensso/legal/CDDLv1.0.txt
See the License for the specific language governing
permission and limitations under the License.
When distributing Covered Code, include this CDDL
Header Notice in each file and include the License file
at opensso/legal/CDDLv1.0.txt.
If applicable, add the following below the CDDL Header,
with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
$Id: urlpolicy.html,v 1.2 2008/11/28 12:34:03 saueree Exp $
-->
<!--
Portions Copyrighted 2013 ForgeRock, Inc.
-->
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Sample Application</title>
<style type="text/css">
<!--
body,td,p,div,span,a,input,big,small{font-family:arial,helvetica,sans-serif}
body,td,p,div,span,a,input{font-size:10pt}
small,.small,small span,.small span,.small a,small a,div.sitelinks,div.sitelinks a,div.footlinks,div.footlinks a{font-size:9pt}
big,.big,big span,.big span,.big a,big a{font-size:11pt}
body,td,p,div,div.sitelinks a#homelink{color:#333}
input.buttonred{background:#acacac;cursor:hand;color:#FFF;height:1.4em;font-weight:bold;padding:0px;margin:0px;border:0px none #000}
input.medium{width:120px;height:18px}
a{text-decoration:none}
a:visited{color:#96C}
a:link,a.named:visited,div.breadcrumb a:visited,div.sitelinks a:visited,div.footlinks a:visited{color:#594FBF}
a:hover{text-decoration:underline}
.footlinks{padding:7px 0px}
.toolbar{padding:7px 0px 3px 0px}
.homenav{padding:7px 0px 0px 0px}
.homeftr{padding:0px}
.htitle div{padding:11px 0px 0px 0px}
.hitemtop div{padding:6px 0px 2px 0px}
.hitem div{padding:3px 0px 2px 0px}
.hitemverybottom div{padding:3px 0px 0px 0px}
.htitle div{font-weight:bold}
.spot div{padding:6px 0px 6px 0px}
.spottop div{padding:0px 0px 6px 0px}
-->
</style>
</head>
<body>
<table style="width: 800px; text-align: left;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a href="http://forgerock.com/" id="homelink">ForgeRock</a></td>
<td style="vertical-align: top; text-align: right;"><a href="http://forgerock.com/what-we-offer/open-identity-stack/openam" id="homelink">OpenAM</a></td>
</tr>
<tr>
<td style="background-color: #333333;"><img
alt="ForgeRock" src="/agentsample/images/logo-sm.png"
style="width: 160px; height: 50px;"><br>
</td>
<td style="text-align: left; background-color: orangered; vertical-align: middle; font-family: andale sans;">
<span style="font-weight: bold;">J2EE Policy Agent Sample Application</span><br>
</td>
<td style="vertical-align: top; width: 50px;">&nbsp;<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 150px;">
<table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr valign="top">
<td class="htitle" style="vertical-align: top; text-align: left;">
<hr class="menutop" size="1">
<div>Sample Application</div>
<hr class="light"> </td>
</tr>
<tr>
<td style="vertical-align: top;"> <a href="/agentsample/public/welcome.html">Welcome </a>
<hr class="faint"><a href="/agentsample/public/declarativesecurity.html">J2EE Declarative Security</a>
<hr class="faint"><a href="/agentsample/public/programmaticsecurity.html">J2EE Security API</a>
<hr class="faint"> URL Policy Enforcement
<hr class="faint"><a href="/agentsample/jsp/showHttpHeaders.jsp">Show HTTP Headers</a>
<hr class="faint">
</td>
</tr>
<tr>
<td class="htitle" style="vertical-align: top; text-align: left;">
<hr class="menutop" size="1">
<div>Other Resources<br>
</div>
<hr class="light"> </td>
</tr>
<tr>
<td style="vertical-align: top;">
<a href="http://openam.forgerock.org/docs.html">J2EE Agents Guide</a><br>
<hr class="faint">
<a href="http://java.sun.com/j2ee">J2EE Documentation<br></a>
<hr class="faint">
</td>
</tr>
</tbody>
</table>
<br>
</td>
<td style="vertical-align: top;">
<table style="text-align: left; width: 572px; height: 394px;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top; width: 75px; height: 75px;">&nbsp;<br>
</td>
<td style="vertical-align: top; height: 75px;">
<br><h2> URL Policy Enforcement</h2><br>
</td>
<td style="vertical-align: top; width: 75px; height: 75px;">&nbsp;<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 75px;">&nbsp;<br>
</td>
<td style="vertical-align: top;">
<b>URL Policy based Access Control</b><br>
</div>
<br>
The following link points to a Servlet that is protected by a URL
Policy which allows access only if the user is a member of the LDAP
Group <code>customer</code>. Click on this link to find out if&nbsp;
you qualify to access this resource.<br>
<ul>
<li><a href="/agentsample/urlpolicyservlet">Invoke a Servlet Protected by URL Policy</a><br>
</li>
</ul>
<br>
To revisit this application from start, you can proceed to
<a href="/agentsample/public/welcome.html">Welcome</a>...<br>
</td>
<td style="vertical-align: top; width: 75px;">&nbsp;<br>
</td>
</tr>
</tbody>
</table>
<br>
</td>
<td style="vertical-align: top; width: 50px;">&nbsp;<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 150px;">
<hr class="menutop"></td>
<td style="vertical-align: top;">
<hr class="menutop">
<div style="text-align: right;"></div>
</td>
<td style="vertical-align: top; width: 50px;">&nbsp;<br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
</body>
</html>