|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.rewrite.IfSecure
@Configurable public class IfSecure
Match if the request is secure, i.e. if request.isSecure() matches.
<resin:Allow url-pattern="/admin/*">
xmlns:resin="urn:java:com.caucho.resin">
<resin:IfSecure/>
</resin:Allow>
RequestPredicates may be used for security and rewrite actions.
| Constructor Summary | |
|---|---|
IfSecure()
|
|
| Method Summary | |
|---|---|
boolean |
isMatch(HttpServletRequest request)
True if the predicate matches. |
void |
setValue(boolean value)
Sets the secure value to test against. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IfSecure()
| Method Detail |
|---|
@Configurable public void setValue(boolean value)
public boolean isMatch(HttpServletRequest request)
isMatch in interface RequestPredicaterequest - the servlet request to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||