Class Role
java.lang.Object
com.gigaspaces.security.directory.Role
- All Implemented Interfaces:
RoleDetails,Serializable
Models role details retrieved by
RoleManager. Implementors may use this class
directly, subclass it, or write their own RoleDetails implementation from scratch.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the granted authorities granted to the role.getRole()Returns the role name used to identify this role.
-
Constructor Details
-
Role
-
Role
-
Role
-
-
Method Details
-
getAuthorities
Description copied from interface:RoleDetailsReturns the granted authorities granted to the role. Cannot returnnull.- Specified by:
getAuthoritiesin interfaceRoleDetails- Returns:
- the authorities (never
null)
-
getRole
Description copied from interface:RoleDetailsReturns the role name used to identify this role. Cannot returnnull.- Specified by:
getRolein interfaceRoleDetails- Returns:
- the role name (never
null)
-