public class Require extends Allow
<web-app xmlns="http://caucho.com/ns/resin"
xmlns:sec="urn:java:com.caucho.security">
<sec:Require>
<sec:url-pattern>/admin/*<sec:url-pattern>
<sec:url-pattern>/security/*<sec:url-pattern>
<sec:IfNetwork>192.168.0.1</sec:IfNetwork>
</sec:Require>
</web-app>
Constructor and Description |
---|
Require() |
Modifier and Type | Method and Description |
---|---|
AbstractConstraint |
getConstraint()
return the constraint
|
add, addURLPattern, getMethods, getPredicateList, isFallthrough, isMatch
add, addAuthConstraint, addConstraint, addIPConstraint, addRoleName, addWebResourceCollection, init, setDescription, setDisplayName, setFallthrough, setUserDataConstraint
public AbstractConstraint getConstraint()
getConstraint
in class Allow