| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_80) on Wed Jun 07 15:10:51 EDT 2017 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ConstraintSecurityHandler (Jetty :: Project 9.2.22.v20170606 API)</title> |
| <meta name="date" content="2017-06-07"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ConstraintSecurityHandler (Jetty :: Project 9.2.22.v20170606 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ConstraintSecurityHandler.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1149868-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/jetty/security/CrossContextPsuedoSession.html" title="interface in org.eclipse.jetty.security"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/jetty/security/ConstraintSecurityHandler.html" target="_top">Frames</a></li> |
| <li><a href="ConstraintSecurityHandler.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested_classes_inherited_from_class_org.eclipse.jetty.security.SecurityHandler">Nested</a> | </li> |
| <li><a href="#fields_inherited_from_class_org.eclipse.jetty.security.SecurityHandler">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.jetty.security</div> |
| <h2 title="Class ConstraintSecurityHandler" class="title">Class ConstraintSecurityHandler</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/eclipse/jetty/server/handler/AbstractHandler.html" title="class in org.eclipse.jetty.server.handler">org.eclipse.jetty.server.handler.AbstractHandler</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/eclipse/jetty/server/handler/AbstractHandlerContainer.html" title="class in org.eclipse.jetty.server.handler">org.eclipse.jetty.server.handler.AbstractHandlerContainer</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html" title="class in org.eclipse.jetty.server.handler">org.eclipse.jetty.server.handler.HandlerWrapper</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">org.eclipse.jetty.security.SecurityHandler</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.security.ConstraintSecurityHandler</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../org/eclipse/jetty/security/Authenticator.AuthConfiguration.html" title="interface in org.eclipse.jetty.security">Authenticator.AuthConfiguration</a>, <a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a>, <a href="../../../../org/eclipse/jetty/server/Handler.html" title="interface in org.eclipse.jetty.server">Handler</a>, <a href="../../../../org/eclipse/jetty/server/HandlerContainer.html" title="interface in org.eclipse.jetty.server">HandlerContainer</a>, <a href="../../../../org/eclipse/jetty/util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a>, <a href="../../../../org/eclipse/jetty/util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a>, <a href="../../../../org/eclipse/jetty/util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">ConstraintSecurityHandler</span> |
| extends <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a> |
| implements <a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></pre> |
| <div class="block">ConstraintSecurityHandler |
| |
| Handler to enforce SecurityConstraints. This implementation is servlet spec |
| 3.1 compliant and pre-computes the constraint combinations for runtime |
| efficiency.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_class_summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.eclipse.jetty.security.SecurityHandler"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.security.<a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.NotChecked.html" title="class in org.eclipse.jetty.security">SecurityHandler.NotChecked</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.eclipse.jetty.util.component.LifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.eclipse.jetty.util.component.Container"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../../../../org/eclipse/jetty/util/component/Container.Listener.html" title="interface in org.eclipse.jetty.util.component">Container.Listener</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.eclipse.jetty.security.SecurityHandler"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.security.<a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#__NO_USER">__NO_USER</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#__NOBODY">__NOBODY</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.eclipse.jetty.server.handler.HandlerWrapper"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.server.handler.<a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html" title="class in org.eclipse.jetty.server.handler">HandlerWrapper</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html#_handler">_handler</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#RUNNING">RUNNING</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#ConstraintSecurityHandler()">ConstraintSecurityHandler</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#addConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)">addConstraintMapping</a></strong>(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping)</code> |
| <div class="block">Add a Constraint Mapping.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#addRole(java.lang.String)">addRole</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> role)</code> |
| <div class="block">Add a Role definition.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#checkPathsWithUncoveredHttpMethods()">checkPathsWithUncoveredHttpMethods</a></strong>()</code> |
| <div class="block">Servlet spec 3.1 pg.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#checkUserDataPermissions(java.lang.String,%20org.eclipse.jetty.server.Request,%20org.eclipse.jetty.server.Response,%20org.eclipse.jetty.security.RoleInfo)">checkUserDataPermissions</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathInContext, |
| <a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> request, |
| <a href="../../../../org/eclipse/jetty/server/Response.html" title="class in org.eclipse.jetty.server">Response</a> response, |
| <a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a> roleInfo)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#checkWebResourcePermissions(java.lang.String,%20org.eclipse.jetty.server.Request,%20org.eclipse.jetty.server.Response,%20java.lang.Object,%20org.eclipse.jetty.server.UserIdentity)">checkWebResourcePermissions</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathInContext, |
| <a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> request, |
| <a href="../../../../org/eclipse/jetty/server/Response.html" title="class in org.eclipse.jetty.server">Response</a> response, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> constraintInfo, |
| <a href="../../../../org/eclipse/jetty/server/UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> userIdentity)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#configureRoleInfo(org.eclipse.jetty.security.RoleInfo,%20org.eclipse.jetty.security.ConstraintMapping)">configureRoleInfo</a></strong>(<a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a> ri, |
| <a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping)</code> |
| <div class="block">Initialize or update the RoleInfo from the constraint</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#createConstraint()">createConstraint</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#createConstraint(org.eclipse.jetty.util.security.Constraint)">createConstraint</a></strong>(<a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a> constraint)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#createConstraint(java.lang.String,%20boolean,%20java.lang.String[],%20int)">createConstraint</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| boolean authenticate, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] roles, |
| int dataConstraint)</code> |
| <div class="block">Create a security constraint</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#createConstraint(java.lang.String,%20javax.servlet.HttpConstraintElement)">createConstraint</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/HttpConstraintElement.html?is-external=true" title="class or interface in javax.servlet">HttpConstraintElement</a> element)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#createConstraint(java.lang.String,%20java.lang.String[],%20javax.servlet.annotation.ServletSecurity.EmptyRoleSemantic,%20javax.servlet.annotation.ServletSecurity.TransportGuarantee)">createConstraint</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] rolesAllowed, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/annotation/ServletSecurity.EmptyRoleSemantic.html?is-external=true" title="class or interface in javax.servlet.annotation">ServletSecurity.EmptyRoleSemantic</a> permitOrDeny, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/annotation/ServletSecurity.TransportGuarantee.html?is-external=true" title="class or interface in javax.servlet.annotation">ServletSecurity.TransportGuarantee</a> transport)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#createConstraintsWithMappingsForPath(java.lang.String,%20java.lang.String,%20javax.servlet.ServletSecurityElement)">createConstraintsWithMappingsForPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathSpec, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/ServletSecurityElement.html?is-external=true" title="class or interface in javax.servlet">ServletSecurityElement</a> securityElement)</code> |
| <div class="block">Generate Constraints and ContraintMappings for the given url pattern and ServletSecurityElement</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#doStart()">doStart</a></strong>()</code> |
| <div class="block">Starts the managed lifecycle beans in the order they were added.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#doStop()">doStop</a></strong>()</code> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#dump(java.lang.Appendable,%20java.lang.String)">dump</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a> out, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> indent)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#getConstraintMappings()">getConstraintMappings</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#getConstraintMappingsForPath(java.lang.String,%20java.util.List)">getConstraintMappingsForPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathSpec, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#getOmittedMethods(java.lang.String)">getOmittedMethods</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> omission)</code> |
| <div class="block">Given a string of the form <method>.<method>.omission |
| split out the individual method names.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#getPathsWithUncoveredHttpMethods()">getPathsWithUncoveredHttpMethods</a></strong>()</code> |
| <div class="block">Servlet spec 3.1 pg.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#getRoles()">getRoles</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#isAuthMandatory(org.eclipse.jetty.server.Request,%20org.eclipse.jetty.server.Response,%20java.lang.Object)">isAuthMandatory</a></strong>(<a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> baseRequest, |
| <a href="../../../../org/eclipse/jetty/server/Response.html" title="class in org.eclipse.jetty.server">Response</a> base_response, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> constraintInfo)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#isDenyUncoveredHttpMethods()">isDenyUncoveredHttpMethods</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#omissionsExist(java.lang.String,%20java.util.Map)">omissionsExist</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a>> methodMappings)</code> |
| <div class="block">Check if any http method omissions exist in the list of method |
| to auth info mappings.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#prepareConstraintInfo(java.lang.String,%20org.eclipse.jetty.server.Request)">prepareConstraintInfo</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathInContext, |
| <a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> request)</code> |
| <div class="block">Find constraints that apply to the given path.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#processConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)">processConstraintMapping</a></strong>(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping)</code> |
| <div class="block">Create and combine the constraint with the existing processed |
| constraints.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#processConstraintMappingWithMethodOmissions(org.eclipse.jetty.security.ConstraintMapping,%20java.util.Map)">processConstraintMappingWithMethodOmissions</a></strong>(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a>> mappings)</code> |
| <div class="block">Constraints that name method omissions are dealt with differently.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#removeConstraintMappingsForPath(java.lang.String,%20java.util.List)">removeConstraintMappingsForPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathSpec, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings)</code> |
| <div class="block">Take out of the constraint mappings those that match the |
| given path.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#setConstraintMappings(org.eclipse.jetty.security.ConstraintMapping[])">setConstraintMappings</a></strong>(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>[] constraintMappings)</code> |
| <div class="block">Process the constraints following the combining rules in Servlet 3.0 EA |
| spec section 13.7.1 Note that much of the logic is in the RoleInfo class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#setConstraintMappings(java.util.List)">setConstraintMappings</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings)</code> |
| <div class="block">Process the constraints following the combining rules in Servlet 3.0 EA |
| spec section 13.7.1 Note that much of the logic is in the RoleInfo class.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#setConstraintMappings(java.util.List,%20java.util.Set)">setConstraintMappings</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> roles)</code> |
| <div class="block">Process the constraints following the combining rules in Servlet 3.0 EA |
| spec section 13.7.1 Note that much of the logic is in the RoleInfo class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#setDenyUncoveredHttpMethods(boolean)">setDenyUncoveredHttpMethods</a></strong>(boolean deny)</code> |
| <div class="block">See Servlet Spec 31, sec 13.8.4, pg 145 |
| When true, requests with http methods not explicitly covered either by inclusion or omissions |
| in constraints, will have access denied.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#setRoles(java.util.Set)">setRoles</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> roles)</code> |
| <div class="block">Set the known roles.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.security.SecurityHandler"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.security.<a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#checkSecurity(org.eclipse.jetty.server.Request)">checkSecurity</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#findIdentityService()">findIdentityService</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#findLoginService()">findLoginService</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getAuthenticator()">getAuthenticator</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getAuthenticatorFactory()">getAuthenticatorFactory</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getAuthMethod()">getAuthMethod</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getCurrentSecurityHandler()">getCurrentSecurityHandler</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getIdentityService()">getIdentityService</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getInitParameter(java.lang.String)">getInitParameter</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getInitParameterNames()">getInitParameterNames</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getLoginService()">getLoginService</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#getRealmName()">getRealmName</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#handle(java.lang.String,%20org.eclipse.jetty.server.Request,%20javax.servlet.http.HttpServletRequest,%20javax.servlet.http.HttpServletResponse)">handle</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#isCheckWelcomeFiles()">isCheckWelcomeFiles</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#isSessionRenewedOnAuthentication()">isSessionRenewedOnAuthentication</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#logout(org.eclipse.jetty.server.Authentication.User)">logout</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setAuthenticator(org.eclipse.jetty.security.Authenticator)">setAuthenticator</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setAuthenticatorFactory(org.eclipse.jetty.security.Authenticator.Factory)">setAuthenticatorFactory</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setAuthMethod(java.lang.String)">setAuthMethod</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setCheckWelcomeFiles(boolean)">setCheckWelcomeFiles</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setIdentityService(org.eclipse.jetty.security.IdentityService)">setIdentityService</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setInitParameter(java.lang.String,%20java.lang.String)">setInitParameter</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setLoginService(org.eclipse.jetty.security.LoginService)">setLoginService</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setRealmName(java.lang.String)">setRealmName</a>, <a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#setSessionRenewedOnAuthentication(boolean)">setSessionRenewedOnAuthentication</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.server.handler.HandlerWrapper"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.server.handler.<a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html" title="class in org.eclipse.jetty.server.handler">HandlerWrapper</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html#destroy()">destroy</a>, <a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html#expandChildren(java.util.List,%20java.lang.Class)">expandChildren</a>, <a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html#getHandler()">getHandler</a>, <a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html#getHandlers()">getHandlers</a>, <a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html#setHandler(org.eclipse.jetty.server.Handler)">setHandler</a>, <a href="../../../../org/eclipse/jetty/server/handler/HandlerWrapper.html#setServer(org.eclipse.jetty.server.Server)">setServer</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.server.handler.AbstractHandlerContainer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.server.handler.<a href="../../../../org/eclipse/jetty/server/handler/AbstractHandlerContainer.html" title="class in org.eclipse.jetty.server.handler">AbstractHandlerContainer</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/server/handler/AbstractHandlerContainer.html#expandHandler(org.eclipse.jetty.server.Handler,%20java.util.List,%20java.lang.Class)">expandHandler</a>, <a href="../../../../org/eclipse/jetty/server/handler/AbstractHandlerContainer.html#findContainerOf(org.eclipse.jetty.server.HandlerContainer,%20java.lang.Class,%20org.eclipse.jetty.server.Handler)">findContainerOf</a>, <a href="../../../../org/eclipse/jetty/server/handler/AbstractHandlerContainer.html#getChildHandlerByClass(java.lang.Class)">getChildHandlerByClass</a>, <a href="../../../../org/eclipse/jetty/server/handler/AbstractHandlerContainer.html#getChildHandlers()">getChildHandlers</a>, <a href="../../../../org/eclipse/jetty/server/handler/AbstractHandlerContainer.html#getChildHandlersByClass(java.lang.Class)">getChildHandlersByClass</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.server.handler.AbstractHandler"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.server.handler.<a href="../../../../org/eclipse/jetty/server/handler/AbstractHandler.html" title="class in org.eclipse.jetty.server.handler">AbstractHandler</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/server/handler/AbstractHandler.html#dumpThis(java.lang.Appendable)">dumpThis</a>, <a href="../../../../org/eclipse/jetty/server/handler/AbstractHandler.html#getServer()">getServer</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.util.component.ContainerLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addBean(java.lang.Object)">addBean</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addBean(java.lang.Object,%20boolean)">addBean</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addBean(java.lang.Object,%20org.eclipse.jetty.util.component.ContainerLifeCycle.Managed)">addBean</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addEventListener(org.eclipse.jetty.util.component.Container.Listener)">addEventListener</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addManaged(org.eclipse.jetty.util.component.LifeCycle)">addManaged</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#contains(java.lang.Object)">contains</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump()">dump</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump(java.lang.Appendable)">dump</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,%20java.lang.String,%20java.util.Collection...)">dump</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump(org.eclipse.jetty.util.component.Dumpable)">dump</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dumpBeans(java.lang.Appendable,%20java.lang.String,%20java.util.Collection...)">dumpBeans</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dumpObject(java.lang.Appendable,%20java.lang.Object)">dumpObject</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dumpStdErr()">dumpStdErr</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#getBean(java.lang.Class)">getBean</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#getBeans()">getBeans</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#getBeans(java.lang.Class)">getBeans</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#isManaged(java.lang.Object)">isManaged</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#manage(java.lang.Object)">manage</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#removeBean(java.lang.Object)">removeBean</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#removeBeans()">removeBeans</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#removeEventListener(org.eclipse.jetty.util.component.Container.Listener)">removeEventListener</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#setBeans(java.util.Collection)">setBeans</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#setStopTimeout(long)">setStopTimeout</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#start(org.eclipse.jetty.util.component.LifeCycle)">start</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#stop(org.eclipse.jetty.util.component.LifeCycle)">stop</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#unmanage(java.lang.Object)">unmanage</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,%20java.lang.Object)">updateBean</a>, <a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#updateBeans(java.lang.Object[],%20java.lang.Object[])">updateBeans</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getState()">getState</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getState(org.eclipse.jetty.util.component.LifeCycle)">getState</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getStopTimeout()">getStopTimeout</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isFailed()">isFailed</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isRunning()">isRunning</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStarted()">isStarted</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStarting()">isStarting</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStopped()">isStopped</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStopping()">isStopping</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#start()">start</a>, <a href="../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#stop()">stop</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.util.component.LifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.util.component.<a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#isFailed()">isFailed</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#isRunning()">isRunning</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#isStarted()">isStarted</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#isStarting()">isStarting</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#isStopped()">isStopped</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#isStopping()">isStopping</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#start()">start</a>, <a href="../../../../org/eclipse/jetty/util/component/LifeCycle.html#stop()">stop</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ConstraintSecurityHandler()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ConstraintSecurityHandler</h4> |
| <pre>public ConstraintSecurityHandler()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="createConstraint()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraint</h4> |
| <pre>public static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a> createConstraint()</pre> |
| </li> |
| </ul> |
| <a name="createConstraint(org.eclipse.jetty.util.security.Constraint)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraint</h4> |
| <pre>public static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a> createConstraint(<a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a> constraint)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>constraint</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="createConstraint(java.lang.String, boolean, java.lang.String[], int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraint</h4> |
| <pre>public static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a> createConstraint(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| boolean authenticate, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] roles, |
| int dataConstraint)</pre> |
| <div class="block">Create a security constraint</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - </dd><dd><code>authenticate</code> - </dd><dd><code>roles</code> - </dd><dd><code>dataConstraint</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="createConstraint(java.lang.String, javax.servlet.HttpConstraintElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraint</h4> |
| <pre>public static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a> createConstraint(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/HttpConstraintElement.html?is-external=true" title="class or interface in javax.servlet">HttpConstraintElement</a> element)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - </dd><dd><code>element</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="createConstraint(java.lang.String, java.lang.String[], javax.servlet.annotation.ServletSecurity.EmptyRoleSemantic, javax.servlet.annotation.ServletSecurity.TransportGuarantee)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraint</h4> |
| <pre>public static <a href="../../../../org/eclipse/jetty/util/security/Constraint.html" title="class in org.eclipse.jetty.util.security">Constraint</a> createConstraint(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] rolesAllowed, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/annotation/ServletSecurity.EmptyRoleSemantic.html?is-external=true" title="class or interface in javax.servlet.annotation">ServletSecurity.EmptyRoleSemantic</a> permitOrDeny, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/annotation/ServletSecurity.TransportGuarantee.html?is-external=true" title="class or interface in javax.servlet.annotation">ServletSecurity.TransportGuarantee</a> transport)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - </dd><dd><code>rolesAllowed</code> - </dd><dd><code>permitOrDeny</code> - </dd><dd><code>transport</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="getConstraintMappingsForPath(java.lang.String, java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConstraintMappingsForPath</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> getConstraintMappingsForPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathSpec, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>pathSpec</code> - </dd><dd><code>constraintMappings</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="removeConstraintMappingsForPath(java.lang.String, java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeConstraintMappingsForPath</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> removeConstraintMappingsForPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathSpec, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings)</pre> |
| <div class="block">Take out of the constraint mappings those that match the |
| given path.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>pathSpec</code> - </dd><dd><code>constraintMappings</code> - a new list minus the matching constraints</dd></dl> |
| </li> |
| </ul> |
| <a name="createConstraintsWithMappingsForPath(java.lang.String, java.lang.String, javax.servlet.ServletSecurityElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraintsWithMappingsForPath</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> createConstraintsWithMappingsForPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathSpec, |
| <a href="http://docs.oracle.com/javaee/7/api/javax/servlet/ServletSecurityElement.html?is-external=true" title="class or interface in javax.servlet">ServletSecurityElement</a> securityElement)</pre> |
| <div class="block">Generate Constraints and ContraintMappings for the given url pattern and ServletSecurityElement</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - </dd><dd><code>pathSpec</code> - </dd><dd><code>securityElement</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="getConstraintMappings()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConstraintMappings</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> getConstraintMappings()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#getConstraintMappings()">getConstraintMappings</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Returns the constraintMappings.</dd></dl> |
| </li> |
| </ul> |
| <a name="getRoles()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRoles</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getRoles()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#getRoles()">getRoles</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setConstraintMappings(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConstraintMappings</h4> |
| <pre>public void setConstraintMappings(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings)</pre> |
| <div class="block">Process the constraints following the combining rules in Servlet 3.0 EA |
| spec section 13.7.1 Note that much of the logic is in the RoleInfo class.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>constraintMappings</code> - The constraintMappings to set, from which the set of known roles |
| is determined.</dd></dl> |
| </li> |
| </ul> |
| <a name="setConstraintMappings(org.eclipse.jetty.security.ConstraintMapping[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConstraintMappings</h4> |
| <pre>public void setConstraintMappings(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>[] constraintMappings)</pre> |
| <div class="block">Process the constraints following the combining rules in Servlet 3.0 EA |
| spec section 13.7.1 Note that much of the logic is in the RoleInfo class.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>constraintMappings</code> - The constraintMappings to set as array, from which the set of known roles |
| is determined. Needed to retain API compatibility for 7.x</dd></dl> |
| </li> |
| </ul> |
| <a name="setConstraintMappings(java.util.List, java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConstraintMappings</h4> |
| <pre>public void setConstraintMappings(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a>> constraintMappings, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> roles)</pre> |
| <div class="block">Process the constraints following the combining rules in Servlet 3.0 EA |
| spec section 13.7.1 Note that much of the logic is in the RoleInfo class.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#setConstraintMappings(java.util.List,%20java.util.Set)">setConstraintMappings</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>constraintMappings</code> - The constraintMappings to set.</dd><dd><code>roles</code> - The known roles (or null to determine them from the mappings)</dd></dl> |
| </li> |
| </ul> |
| <a name="setRoles(java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRoles</h4> |
| <pre>public void setRoles(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> roles)</pre> |
| <div class="block">Set the known roles. |
| This may be overridden by a subsequent call to <a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#setConstraintMappings(org.eclipse.jetty.security.ConstraintMapping[])"><code>setConstraintMappings(ConstraintMapping[])</code></a> or |
| <a href="../../../../org/eclipse/jetty/security/ConstraintSecurityHandler.html#setConstraintMappings(java.util.List,%20java.util.Set)"><code>setConstraintMappings(List, Set)</code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>roles</code> - The known roles (or null to determine them from the mappings)</dd></dl> |
| </li> |
| </ul> |
| <a name="addConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addConstraintMapping</h4> |
| <pre>public void addConstraintMapping(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#addConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)">ConstraintAware</a></code></strong></div> |
| <div class="block">Add a Constraint Mapping. |
| May be called for running webapplication as an annotated servlet is instantiated.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#addConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)">addConstraintMapping</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#addConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)"><code>ConstraintAware.addConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="addRole(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addRole</h4> |
| <pre>public void addRole(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> role)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#addRole(java.lang.String)">ConstraintAware</a></code></strong></div> |
| <div class="block">Add a Role definition. |
| May be called on running webapplication as an annotated servlet is instantiated.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#addRole(java.lang.String)">addRole</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#addRole(java.lang.String)"><code>ConstraintAware.addRole(java.lang.String)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="doStart()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doStart</h4> |
| <pre>protected void doStart() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block"><strong>Description copied from class: <code><a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#doStart()">ContainerLifeCycle</a></code></strong></div> |
| <div class="block">Starts the managed lifecycle beans in the order they were added.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#doStart()">doStart</a></code> in class <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#doStart()"><code>SecurityHandler.doStart()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="doStop()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doStop</h4> |
| <pre>protected void doStop() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block"><strong>Description copied from class: <code><a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#doStop()">ContainerLifeCycle</a></code></strong></div> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#doStop()">doStop</a></code> in class <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="processConstraintMapping(org.eclipse.jetty.security.ConstraintMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>processConstraintMapping</h4> |
| <pre>protected void processConstraintMapping(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping)</pre> |
| <div class="block">Create and combine the constraint with the existing processed |
| constraints.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mapping</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="processConstraintMappingWithMethodOmissions(org.eclipse.jetty.security.ConstraintMapping, java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>processConstraintMappingWithMethodOmissions</h4> |
| <pre>protected void processConstraintMappingWithMethodOmissions(<a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a>> mappings)</pre> |
| <div class="block">Constraints that name method omissions are dealt with differently. |
| We create an entry in the mappings with key "<method>.omission". This entry |
| is only ever combined with other omissions for the same method to produce a |
| consolidated RoleInfo. Then, when we wish to find the relevant constraints for |
| a given Request (in prepareConstraintInfo()), we consult 3 types of entries in |
| the mappings: an entry that names the method of the Request specifically, an |
| entry that names constraints that apply to all methods, entries of the form |
| <method>.omission, where the method of the Request is not named in the omission.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mapping</code> - </dd><dd><code>mappings</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="configureRoleInfo(org.eclipse.jetty.security.RoleInfo, org.eclipse.jetty.security.ConstraintMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>configureRoleInfo</h4> |
| <pre>protected void configureRoleInfo(<a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a> ri, |
| <a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security">ConstraintMapping</a> mapping)</pre> |
| <div class="block">Initialize or update the RoleInfo from the constraint</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ri</code> - </dd><dd><code>mapping</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="prepareConstraintInfo(java.lang.String, org.eclipse.jetty.server.Request)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>prepareConstraintInfo</h4> |
| <pre>protected <a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a> prepareConstraintInfo(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathInContext, |
| <a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> request)</pre> |
| <div class="block">Find constraints that apply to the given path. |
| In order to do this, we consult 3 different types of information stored in the mappings for each path - each mapping |
| represents a merged set of user data constraints, roles etc -: |
| <ol> |
| <li>A mapping of an exact method name </li> |
| <li>A mapping with key * that matches every method name</li> |
| <li>Mappings with keys of the form "<method>.<method>.<method>.omission" that indicates it will match every method name EXCEPT those given</li> |
| </ol></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#prepareConstraintInfo(java.lang.String,%20org.eclipse.jetty.server.Request)">prepareConstraintInfo</a></code> in class <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#prepareConstraintInfo(java.lang.String,%20org.eclipse.jetty.server.Request)"><code>SecurityHandler.prepareConstraintInfo(java.lang.String, org.eclipse.jetty.server.Request)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="checkUserDataPermissions(java.lang.String, org.eclipse.jetty.server.Request, org.eclipse.jetty.server.Response, org.eclipse.jetty.security.RoleInfo)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkUserDataPermissions</h4> |
| <pre>protected boolean checkUserDataPermissions(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathInContext, |
| <a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> request, |
| <a href="../../../../org/eclipse/jetty/server/Response.html" title="class in org.eclipse.jetty.server">Response</a> response, |
| <a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a> roleInfo) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#checkUserDataPermissions(java.lang.String,%20org.eclipse.jetty.server.Request,%20org.eclipse.jetty.server.Response,%20org.eclipse.jetty.security.RoleInfo)">checkUserDataPermissions</a></code> in class <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="isAuthMandatory(org.eclipse.jetty.server.Request, org.eclipse.jetty.server.Response, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAuthMandatory</h4> |
| <pre>protected boolean isAuthMandatory(<a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> baseRequest, |
| <a href="../../../../org/eclipse/jetty/server/Response.html" title="class in org.eclipse.jetty.server">Response</a> base_response, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> constraintInfo)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#isAuthMandatory(org.eclipse.jetty.server.Request,%20org.eclipse.jetty.server.Response,%20java.lang.Object)">isAuthMandatory</a></code> in class <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkWebResourcePermissions(java.lang.String, org.eclipse.jetty.server.Request, org.eclipse.jetty.server.Response, java.lang.Object, org.eclipse.jetty.server.UserIdentity)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkWebResourcePermissions</h4> |
| <pre>protected boolean checkWebResourcePermissions(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathInContext, |
| <a href="../../../../org/eclipse/jetty/server/Request.html" title="class in org.eclipse.jetty.server">Request</a> request, |
| <a href="../../../../org/eclipse/jetty/server/Response.html" title="class in org.eclipse.jetty.server">Response</a> response, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> constraintInfo, |
| <a href="../../../../org/eclipse/jetty/server/UserIdentity.html" title="interface in org.eclipse.jetty.server">UserIdentity</a> userIdentity) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#checkWebResourcePermissions(java.lang.String,%20org.eclipse.jetty.server.Request,%20org.eclipse.jetty.server.Response,%20java.lang.Object,%20org.eclipse.jetty.server.UserIdentity)">checkWebResourcePermissions</a></code> in class <code><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html" title="class in org.eclipse.jetty.security">SecurityHandler</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/security/SecurityHandler.html#checkWebResourcePermissions(java.lang.String,%20org.eclipse.jetty.server.Request,%20org.eclipse.jetty.server.Response,%20java.lang.Object,%20org.eclipse.jetty.server.UserIdentity)"><code>SecurityHandler.checkWebResourcePermissions(java.lang.String, org.eclipse.jetty.server.Request, org.eclipse.jetty.server.Response, java.lang.Object, org.eclipse.jetty.server.UserIdentity)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="dump(java.lang.Appendable, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dump</h4> |
| <pre>public void dump(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a> out, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> indent) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/util/component/Dumpable.html#dump(java.lang.Appendable,%20java.lang.String)">dump</a></code> in interface <code><a href="../../../../org/eclipse/jetty/util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,%20java.lang.String)">dump</a></code> in class <code><a href="../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="setDenyUncoveredHttpMethods(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDenyUncoveredHttpMethods</h4> |
| <pre>public void setDenyUncoveredHttpMethods(boolean deny)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#setDenyUncoveredHttpMethods(boolean)">ConstraintAware</a></code></strong></div> |
| <div class="block">See Servlet Spec 31, sec 13.8.4, pg 145 |
| When true, requests with http methods not explicitly covered either by inclusion or omissions |
| in constraints, will have access denied.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#setDenyUncoveredHttpMethods(boolean)">setDenyUncoveredHttpMethods</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#setDenyUncoveredHttpMethods(boolean)"><code>ConstraintAware.setDenyUncoveredHttpMethods(boolean)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="isDenyUncoveredHttpMethods()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDenyUncoveredHttpMethods</h4> |
| <pre>public boolean isDenyUncoveredHttpMethods()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#isDenyUncoveredHttpMethods()">isDenyUncoveredHttpMethods</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkPathsWithUncoveredHttpMethods()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkPathsWithUncoveredHttpMethods</h4> |
| <pre>public boolean checkPathsWithUncoveredHttpMethods()</pre> |
| <div class="block">Servlet spec 3.1 pg. 147.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html#checkPathsWithUncoveredHttpMethods()">checkPathsWithUncoveredHttpMethods</a></code> in interface <code><a href="../../../../org/eclipse/jetty/security/ConstraintAware.html" title="interface in org.eclipse.jetty.security">ConstraintAware</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPathsWithUncoveredHttpMethods()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPathsWithUncoveredHttpMethods</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getPathsWithUncoveredHttpMethods()</pre> |
| <div class="block">Servlet spec 3.1 pg. 147. |
| The container must check all the combined security constraint |
| information and log any methods that are not protected and the |
| urls at which they are not protected</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>list of paths for which there are uncovered methods</dd></dl> |
| </li> |
| </ul> |
| <a name="omissionsExist(java.lang.String, java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>omissionsExist</h4> |
| <pre>protected boolean omissionsExist(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/eclipse/jetty/security/RoleInfo.html" title="class in org.eclipse.jetty.security">RoleInfo</a>> methodMappings)</pre> |
| <div class="block">Check if any http method omissions exist in the list of method |
| to auth info mappings.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - </dd><dd><code>methodMappings</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="getOmittedMethods(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getOmittedMethods</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getOmittedMethods(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> omission)</pre> |
| <div class="block">Given a string of the form <method>.<method>.omission |
| split out the individual method names.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>omission</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ConstraintSecurityHandler.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1149868-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/jetty/security/ConstraintMapping.html" title="class in org.eclipse.jetty.security"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/jetty/security/CrossContextPsuedoSession.html" title="interface in org.eclipse.jetty.security"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/jetty/security/ConstraintSecurityHandler.html" target="_top">Frames</a></li> |
| <li><a href="ConstraintSecurityHandler.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested_classes_inherited_from_class_org.eclipse.jetty.security.SecurityHandler">Nested</a> | </li> |
| <li><a href="#fields_inherited_from_class_org.eclipse.jetty.security.SecurityHandler">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 1995-2017 <a href="http://webtide.com">Webtide</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |