public class MonitorAuthority extends Object implements InternalAuthority
Note: These privileges are not enforced by the API and should be properly handled by administrative tooling (UI/CLI/Application).
The MonitorAuthority
s' Authority.getAuthority()
String representation format:
MonitorPrivilege privilege-value
Where:
privilege-value = MONITOR_JVM | MONITOR_PU
The privileges represent the following grid operations:
MONITOR_JVM - JVM statistics
MONITOR_PU - processing unit statistics (classes/templates/transactions/connections/statistics,
etc.)
Modifier and Type | Class and Description |
---|---|
static class |
MonitorAuthority.MonitorPrivilege
Defines monitoring privileges
|
Constructor and Description |
---|
MonitorAuthority(MonitorAuthority.MonitorPrivilege monitorPrivilege) |
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 MonitorAuthority |
valueOf(String authority) |
public MonitorAuthority(MonitorAuthority.MonitorPrivilege monitorPrivilege)
public static MonitorAuthority valueOf(String authority)
public String getAuthority()
Authority
Authority
that can be represented as a String
which is
sufficient in precision to be relied upon for an access control decisions.getAuthority
in interface Authority
String
with
sufficient precision).public Privilege getPrivilege()
InternalAuthority
getPrivilege
in interface InternalAuthority
Copyright © GigaSpaces.