Class DefaultAuthorizationPolicyWebService
- java.lang.Object
-
- org.pentaho.platform.security.policy.rolebased.ws.DefaultAuthorizationPolicyWebService
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IAuthorizationPolicy
,IAuthorizationPolicyWebService
public class DefaultAuthorizationPolicyWebService extends Object implements IAuthorizationPolicyWebService
Implementation ofIAuthorizationPolicyWebService
that delegates to anIAuthorizationPolicy
instance.- Author:
- mlowery
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthorizationPolicyWebService()
No-arg constructor for when in Pentaho BI Server.DefaultAuthorizationPolicyWebService(org.pentaho.platform.api.engine.IAuthorizationPolicy policy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAllowedActions(String actionNamespace)
boolean
isAllowed(String actionName)
-
-
-
Method Detail
-
getAllowedActions
public List<String> getAllowedActions(String actionNamespace)
- Specified by:
getAllowedActions
in interfaceorg.pentaho.platform.api.engine.IAuthorizationPolicy
-
isAllowed
public boolean isAllowed(String actionName)
- Specified by:
isAllowed
in interfaceorg.pentaho.platform.api.engine.IAuthorizationPolicy
-
-