public class SystemAuthority extends Object implements InternalAuthority
The SystemAuthoritys'
Authority.getAuthority() String representation format:
SystemPrivilege privilege-value
Where:
privilege-value = MANAGE_ROLES | MANAGE_USERS
The privileges represent the following system operations:
MANAGE_ROLES - managing of roles
MANAGE_USERS - managing of users
| Modifier and Type | Class and Description |
|---|---|
static class |
SystemAuthority.SystemPrivilege
Defines monitoring privileges
|
| Constructor and Description |
|---|
SystemAuthority(SystemAuthority.SystemPrivilege systemPrivilege) |
| 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 SystemAuthority |
valueOf(String authority) |
public SystemAuthority(SystemAuthority.SystemPrivilege systemPrivilege)
public static SystemAuthority 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.