Class ServiceAuthority
java.lang.Object
com.gigaspaces.security.authorities.ServiceAuthority
- All Implemented Interfaces:
InternalAuthority,Authority,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDefines service privileges -
Constructor Summary
ConstructorsConstructorDescriptionServiceAuthority(ServiceAuthority.ServicePrivilege servicePrivilege) ServiceAuthority(ServiceAuthority.ServicePrivilege servicePrivilege, ServiceAuthority.ServiceFilter filter) An authority with the specified privilege. -
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 ServiceAuthority
-
Constructor Details
-
ServiceAuthority
-
ServiceAuthority
public ServiceAuthority(ServiceAuthority.ServicePrivilege servicePrivilege, ServiceAuthority.ServiceFilter filter) An authority with the specified privilege.- Parameters:
servicePrivilege- granted privilegefilter- a filter on the specified privilege.
-
-
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
-
getPrivilege
Description copied from interface:InternalAuthorityA granted privilege associated with this Authority.- Specified by:
getPrivilegein interfaceInternalAuthority- Returns:
- a granted privilege.
-
getFilter
-
hashCode
public int hashCode() -
equals
-