| Package | Description |
|---|---|
| javolution.context |
Run-time
contexts to facilitate
separation of concerns and achieve higher level of performance and flexibility. |
| javolution.lang |
Fundamental classes, interfaces and annotations.
|
| Modifier and Type | Field and Description |
|---|---|
static SecurityContext.Permission<Object> |
SecurityContext.Permission.ALL
Holds the global permission for anything.
|
static SecurityContext.Permission<LocalContext.Parameter<?>> |
LocalContext.Parameter.SUPERSEDE_PERMISSION
Holds the general permission to supersede any parameter value
(action "supersede").
|
| Modifier and Type | Method and Description |
|---|---|
SecurityContext.Permission<LocalContext.Parameter<T>> |
LocalContext.Parameter.getSupersedePermission ()
Returns the permission to locally supersede the current value
of this instance.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SecurityContext.check (SecurityContext.Permission<?> permission)
Checks if the specified permission is granted.
|
void |
SecurityContext.grant (SecurityContext.Permission<?> permission)
Grants the specified permission (convenience method).
|
abstract void |
SecurityContext.grant (SecurityContext.Permission<?> permission,
Object certificate)
Grants the specified permission.
|
boolean |
SecurityContext.Permission.implies (SecurityContext.Permission<?> that)
Checks if the specified permission is automatically granted/revoked
by 'this' permission being granted/revoked.
|
abstract boolean |
SecurityContext.isGranted (SecurityContext.Permission<?> permission)
Indicates if the specified permission is granted.
|
void |
SecurityContext.revoke (SecurityContext.Permission<?> permission)
Revokes the specified permission (convenience method).
|
abstract void |
SecurityContext.revoke (SecurityContext.Permission<?> permission,
Object certificate)
Revokes the specified permission.
|
| Modifier and Type | Field and Description |
|---|---|
static SecurityContext.Permission<Configurable<?>> |
Configurable.RECONFIGURE_PERMISSION
Holds the general permission to reconfigure configurable instances
(action
"reconfigure"). |
| Modifier and Type | Method and Description |
|---|---|
SecurityContext.Permission<Configurable<T>> |
Configurable.getReconfigurePermission ()
Returns the permission to configure this instance.
|
Copyright © 2005-2013 Javolution. All Rights Reserved.