programmaticsecurity.html revision 6406210b71fd4a97800f32f3613eea9b6a6a12ce
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<html>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<head>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!--
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe The contents of this file are subject to the terms
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe of the Common Development and Distribution License
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe (the License). You may not use this file except in
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe compliance with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe You can obtain a copy of the License at
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe https://opensso.dev.java.net/public/CDDLv1.0.html or
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe opensso/legal/CDDLv1.0.txt
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe See the License for the specific language governing
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe permission and limitations under the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe When distributing Covered Code, include this CDDL
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Header Notice in each file and include the License file
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe at opensso/legal/CDDLv1.0.txt.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe If applicable, add the following below the CDDL Header,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe with the fields enclosed by brackets [] replaced by
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe your own identifying information:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe "Portions Copyrighted [year] [name of copyright owner]"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $Id: programmaticsecurity.html,v 1.2 2008/11/28 12:34:03 saueree Exp $
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe-->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!--
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Portions Copyrighted 2013 ForgeRock, Inc.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe-->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <meta content="text/html; charset=ISO-8859-1"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe http-equiv="content-type">
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <title>Sample Application</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <style type="text/css">
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!--
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowebody,td,p,div,span,a,input,big,small{font-family:arial,helvetica,sans-serif}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowebody,td,p,div,span,a,input{font-size:10pt}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowesmall,.small,small span,.small span,.small a,small a,div.sitelinks,div.sitelinks a,div.footlinks,div.footlinks a{font-size:9pt}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowebig,.big,big span,.big span,.big a,big a{font-size:11pt}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowebody,td,p,div,div.sitelinks a#homelink{color:#333}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinput.buttonred{background:#acacac;cursor:hand;color:#FFF;height:1.4em;font-weight:bold;padding:0px;margin:0px;border:0px none #000}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinput.medium{width:120px;height:18px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowea{text-decoration:none}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowea:visited{color:#96C}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowea:link,a.named:visited,div.breadcrumb a:visited,div.sitelinks a:visited,div.footlinks a:visited{color:#594FBF}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowea:hover{text-decoration:underline}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.footlinks{padding:7px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.toolbar{padding:7px 0px 3px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.homenav{padding:7px 0px 0px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.homeftr{padding:0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.htitle div{padding:11px 0px 0px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.hitemtop div{padding:6px 0px 2px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.hitem div{padding:3px 0px 2px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.hitemverybottom div{padding:3px 0px 0px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.htitle div{font-weight:bold}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.spot div{padding:6px 0px 6px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.spottop div{padding:0px 0px 6px 0px}
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe-->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe </style>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe</head>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<body>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<table style="width: 800px; text-align: left;" border="0" cellpadding="2" cellspacing="2">
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <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">J2EE Security API
<hr class="faint"> <a href="/agentsample/public/urlpolicy.html">URL Policy Enforcement</a>
<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>J2EE Security API </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>Web-Tier Security API</b><br>
<br>
The following link points to a Servlet that calls J2EE security APIs
available in the web-tier. Click on this link to find out if this
Servlet can make security decisions based on your identity:<br>
<ul>
<li><a href="/agentsample/securityawareservlet">Invoke Security Aware Servlet</a><br>
</li>
</ul>
<br>
You can also proceed directly to
<a href="/agentsample/public/urlpolicy.html">URL Policy Enforcement</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>