@Configurable public class IfAuthType extends java.lang.Object implements RequestPredicate
<resin:Allow url-pattern="/admin/*"> xmlns:resin="urn:java:com.caucho.resin"> <resin:IfAuthType value="DIGEST"/> </resin:Allow>
RequestPredicates may be used for security and rewrite actions.
Constructor and Description |
---|
IfAuthType() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(HttpServletRequest request)
True if the predicate matches.
|
void |
setValue(java.lang.String authType)
Sets the auth-type value to match against.
|
@Configurable public void setValue(java.lang.String authType)
public boolean isMatch(HttpServletRequest request)
isMatch
in interface RequestPredicate
request
- the servlet request to test