org.owasp.esapi.reference.accesscontrol
Class EchoRuntimeParameterACR
java.lang.Object
org.owasp.esapi.reference.accesscontrol.BaseACR<Object,Boolean>
org.owasp.esapi.reference.accesscontrol.EchoRuntimeParameterACR
- All Implemented Interfaces:
- AccessControlRule<Object,Boolean>
public class EchoRuntimeParameterACR
- extends BaseACR<Object,Boolean>
Method Summary |
boolean |
isAuthorized(Boolean runtimeParameter)
Returns true iff runtimeParameter is a Boolean true. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EchoRuntimeParameterACR
public EchoRuntimeParameterACR()
isAuthorized
public boolean isAuthorized(Boolean runtimeParameter)
throws ClassCastException
- Returns true iff runtimeParameter is a Boolean true.
throws ClassCastException if runtimeParameter is not a Boolean.
- Throws:
ClassCastException
Copyright © 2013 The Open Web Application Security Project (OWASP). All Rights Reserved.