Class MonitorAuthority
java.lang.Object
com.gigaspaces.security.authorities.MonitorAuthority
- All Implemented Interfaces:
InternalAuthority,Authority,Serializable
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.)
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines monitoring privileges -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAnAuthoritythat can be represented as aStringwhich is sufficient in precision to be relied upon for an access control decisions.A granted privilege associated with this Authority.inthashCode()toString()static MonitorAuthority
-
Constructor Details
-
MonitorAuthority
-
-
Method Details
-
valueOf
-
getAuthority
Description copied from interface:AuthorityAnAuthoritythat can be represented as aStringwhich is sufficient in precision to be relied upon for an access control decisions.- Specified by:
getAuthorityin interfaceAuthority- Returns:
- a representation of the granted authority (expressed as a
Stringwith sufficient precision).
-
toString
-
hashCode
public int hashCode() -
equals
-
getPrivilege
Description copied from interface:InternalAuthorityA granted privilege associated with this Authority.- Specified by:
getPrivilegein interfaceInternalAuthority- Returns:
- a granted privilege.
-