|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAuthorizationPolicy
An access control policy.
Reponsible for determining if access to a given action should be allowed or denied. A implementation could be one based on roles, as is done in the Servlet specification. (In other words, if the policy has an association between the given action and a role that has been granted to the user, then the decision will be to allow.)
| 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. |
| Method Detail |
|---|
boolean isAllowed(String actionName)
true if the the action should be allowed.
actionName - name of action (e.g. org.pentaho.di.repository.create)
true to allowList<String> getAllowedActions(String actionNamespace)
actionNamespace - action namespace (e.g. org.pentaho.di.repository); null means all allowed actions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||