public class DelegatingACR extends BaseACR<DynaBeanACRParameter,Object[]>
Modifier and Type | Field and Description |
---|---|
protected Object |
delegateInstance |
protected Method |
delegateMethod |
policyParameters
Constructor and Description |
---|
DelegatingACR() |
Modifier and Type | Method and Description |
---|---|
protected Class |
getClass(String className,
String purpose)
Convert a single fully qualified class name into a Class object
|
protected Class[] |
getParameters(String[] parameterClassNames)
Convert an array of fully qualified class names into an array of Class objects
|
boolean |
isAuthorized(Object[] runtimeParameters)
Delegates to the method specified in setPolicyParameters
|
void |
setPolicyParameters(DynaBeanACRParameter policyParameter) |
getPolicyParameters
protected Method delegateMethod
protected Object delegateInstance
public void setPolicyParameters(DynaBeanACRParameter policyParameter)
setPolicyParameters
in interface AccessControlRule<DynaBeanACRParameter,Object[]>
setPolicyParameters
in class BaseACR<DynaBeanACRParameter,Object[]>
protected final Class[] getParameters(String[] parameterClassNames)
parameterClassNames
- protected final Class getClass(String className, String purpose)
className
- purpose
- Copyright © 2019 The Open Web Application Security Project (OWASP). All rights reserved.