|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.platform.security.policy.rolebased.ws.DefaultAuthorizationPolicyWebService
public class DefaultAuthorizationPolicyWebService
Implementation of IAuthorizationPolicyWebService
that delegates to an IAuthorizationPolicy
instance.
Constructor Summary | |
---|---|
DefaultAuthorizationPolicyWebService()
No-arg constructor for when in Pentaho BI Server. |
|
DefaultAuthorizationPolicyWebService(IAuthorizationPolicy policy)
|
Method Summary | |
---|---|
List<String> |
getAllowedActions(String actionNamespace)
Returns all actions in the given namespace that are currently allowed. |
boolean |
isAllowed(String actionName)
Returns true if the the action should be allowed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAuthorizationPolicyWebService()
public DefaultAuthorizationPolicyWebService(IAuthorizationPolicy policy)
Method Detail |
---|
public List<String> getAllowedActions(String actionNamespace)
IAuthorizationPolicy
getAllowedActions
in interface IAuthorizationPolicy
actionNamespace
- action namespace (e.g. org.pentaho.di.repository
); null
means all allowed actions
public boolean isAllowed(String actionName)
IAuthorizationPolicy
true
if the the action should be allowed.
isAllowed
in interface IAuthorizationPolicy
actionName
- name of action (e.g. org.pentaho.di.repository.create
)
true
to allow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |