| Package | Description |
|---|---|
| org.gcube.accounting.security | |
| org.gcube.accounting.security.authz |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SecurityManager.isAllowed(String userId,
Action action) |
static boolean |
SecurityManager.isAllowed(String userId,
Action action,
String object) |
| Modifier and Type | Method and Description |
|---|---|
static Action |
Action.getAction(String s) |
static Action |
Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
Action.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Role.addAction(Action act)
Add the given action to this role
|
void |
Role.addActions(Action... acts)
Add the given actions to this role
|
boolean |
Permission.isAllowed(Action a)
Check whether the given action is allowed by this permission
|
boolean |
Role.isAllowed(Action action)
Check whether the role can perform the given action
|
boolean |
Permission.isAllowed(Action a,
String object)
Check whether the given action on the given target is allowed by this
permission
|
boolean |
AuthorizationManager.isAllowed(String userId,
Action action) |
boolean |
FileAuthorizationManager.isAllowed(String userId,
Action action)
Check whether the given user is allowed to perform the given action
|
boolean |
AuthorizationManager.isAllowed(String userId,
Action action,
String object) |
boolean |
FileAuthorizationManager.isAllowed(String userId,
Action action,
String object)
Check if the given user is allowed to perform the given action over the
given object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Role.addActions(Collection<Action> actions)
Add the given actions to this role
|
Copyright © 2015. All Rights Reserved.