<% String result = (String) request.getAttribute("RESULT"); boolean success = false; if (result != null && result.equals("OK")) { success = true; } %>
ForgeRock
J2EE Policy Agent Sample Application
Sample Application

Welcome
J2EE Declarative Security
J2EE Security API
URL Policy Enforcement
Show HTTP Headers
Other Resources

J2EE Agents Guide

J2EE Documentation


 
<% if (success) { %>
Successful Invocation: Please Verify
<% } else { %>
Configuration Error
<% } %>
 
 
<% if (success) { %>
This page was dispatched by a Servlet which is protected by a URL Policy that requires the user to be in the LDAP Group called customer.
<% } else { %>
The dispatched page was not routed via the URL Policy Servlet. This condition can happen if the page was accessed directly instead of being routed via the URL Policy Servlet.
<% } %>
You can return to URL Policy Enforcement page to try again.