Interface RoleDetails
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Role
Role details to store role information accessed by the
RoleManager and SecurityManager. Concrete implementations must take particular care to ensure the non-null contract detailed for each method is enforced.
Concrete implementations should be immutable
(value object semantics, like a String). This is because the RoleDetails will be
stored in caches and as such multiple threads may use the same instance.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
-
Method Summary
Modifier and TypeMethodDescriptionReturns the granted authorities granted to the role.getRole()Returns the role name used to identify this role.
-
Method Details