Class GridAuthority
java.lang.Object
com.gigaspaces.security.authorities.GridAuthority
- All Implemented Interfaces:
InternalAuthority,Authority,Serializable
Defines an Authority for managing grid services, with the specified privilege.
The
GridAuthoritys' Authority.getAuthority() String representation format:
GridPrivilege privilege-value
Where:
privilege-value = PROVISION_PU | MANAGE_PU | MANAGE_GRID
The privileges represent the following grid operations:
PROVISION_PU - deploy, un-deploy
MANAGE_PU - scale up/down, relocate, restart PU instance, destroy PU instance
MANAGE_GRID - start, terminate, restart of GSC/GSM/LUS
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines managing services 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 GridAuthority
-
Constructor Details
-
GridAuthority
-
-
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.
-