Class McpAuthority
java.lang.Object
com.gigaspaces.security.authorities.McpAuthority
- All Implemented Interfaces:
InternalAuthority,Authority,Serializable
Authority controlling access to MCP (Model Context Protocol) server operations.
The string representation is "McpPrivilege <PRIVILEGE>", e.g. "McpPrivilege DEPLOY".
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPrivileges for MCP server operations. -
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 McpAuthority
-
Constructor Details
-
McpAuthority
-
-
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).
-
getPrivilege
Description copied from interface:InternalAuthorityA granted privilege associated with this Authority.- Specified by:
getPrivilegein interfaceInternalAuthority- Returns:
- a granted privilege.
-
toString
-
hashCode
public int hashCode() -
equals
-