|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.security.authorities.MonitorAuthority
public class MonitorAuthority
Defines an Authority for monitoring a service, with the specified privilege.
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.)
Nested Class Summary | |
---|---|
static class |
MonitorAuthority.MonitorPrivilege
Defines monitoring privileges |
Constructor Summary | |
---|---|
MonitorAuthority(MonitorAuthority.MonitorPrivilege monitorPrivilege)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MonitorAuthority(MonitorAuthority.MonitorPrivilege monitorPrivilege)
Method Detail |
---|
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 String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Privilege getPrivilege()
InternalAuthority
getPrivilege
in interface InternalAuthority
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |