public class Deny extends SecurityConstraint
<web-app xmlns="http://caucho.com/ns/resin"
xmlns:sec="urn:java:com.caucho.security">
<sec:Deny url-pattern="*.jsp"/>
</web-app>
Constructor and Description |
---|
Deny() |
Modifier and Type | Method and Description |
---|---|
void |
add(RequestPredicate predicate)
Adds a match
|
void |
addURLPattern(java.lang.String pattern)
Sets the url-pattern
|
AbstractConstraint |
getConstraint()
return the constraint
|
java.util.ArrayList<java.lang.String> |
getMethods(java.lang.String url)
Returns the HTTP methods.
|
boolean |
isFallthrough()
Returns true for a fallthrough.
|
boolean |
isMatch(java.lang.String url)
Returns true for the URL match
|
add, addAuthConstraint, addConstraint, addIPConstraint, addRoleName, addWebResourceCollection, init, setDescription, setDisplayName, setFallthrough, setUserDataConstraint
public void addURLPattern(java.lang.String pattern)
addURLPattern
in class SecurityConstraint
public void add(RequestPredicate predicate)
public boolean isMatch(java.lang.String url)
isMatch
in class SecurityConstraint
public boolean isFallthrough()
isFallthrough
in class SecurityConstraint
public java.util.ArrayList<java.lang.String> getMethods(java.lang.String url)
getMethods
in class SecurityConstraint
public AbstractConstraint getConstraint()
getConstraint
in class SecurityConstraint