winstone.auth
public class SecurityConstraint extends java.lang.Object
Constructor and Description |
---|
SecurityConstraint(org.w3c.dom.Node elm,
java.util.Set rolesAllowed,
int counter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
boolean |
isAllowed(HttpServletRequest request)
Call this to evaluate the security constraint - is this operation allowed ?
|
boolean |
isApplicable(java.lang.String url,
java.lang.String method)
Call this to evaluate the security constraint - is this constraint applicable to this url ?
|
boolean |
needsSSL() |
public SecurityConstraint(org.w3c.dom.Node elm, java.util.Set rolesAllowed, int counter)
public boolean isAllowed(HttpServletRequest request)
public boolean isApplicable(java.lang.String url, java.lang.String method)
public boolean needsSSL()
public java.lang.String getName()
Copyright © 2014. All Rights Reserved.