|
GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 MonitorAuthoritys' 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()
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 String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic Privilege getPrivilege()
InternalAuthority
getPrivilege in interface InternalAuthority
|
GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||