public class GridAuthority extends Object implements InternalAuthority
The
GridAuthoritys' Authority.getAuthority() String representation format:
GridPrivilege privilege-value
Where:
privilege-value = PROVISION_PU | MANAGE_PU | MANAGE_GRID
The privileges represent the following grid operations:
PROVISION_PU - deploy, un-deploy
MANAGE_PU - scale up/down, relocate, restart PU instance, destroy PU instance
MANAGE_GRID - start, terminate, restart of GSC/GSM/LUS
| Modifier and Type | Class and Description |
|---|---|
static class |
GridAuthority.GridPrivilege
Defines managing services privileges
|
| Constructor and Description |
|---|
GridAuthority(GridAuthority.GridPrivilege gridPrivilege) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAuthority()
An
Authority that can be represented as a String which is
sufficient in precision to be relied upon for an access control decisions. |
Privilege |
getPrivilege()
A granted privilege associated with this Authority.
|
int |
hashCode() |
String |
toString() |
static GridAuthority |
valueOf(String authority) |
public GridAuthority(GridAuthority.GridPrivilege gridPrivilege)
public static GridAuthority valueOf(String authority)
public String getAuthority()
AuthorityAuthority that can be represented as a String which is
sufficient in precision to be relied upon for an access control decisions.getAuthority in interface AuthorityString with
sufficient precision).public Privilege getPrivilege()
InternalAuthoritygetPrivilege in interface InternalAuthorityCopyright © GigaSpaces.