| org.springframework.security.access.hierarchicalroles.RoleHierarchy |
Known Indirect Subclasses
|
The simple interface of a role hierarchy.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns an array of all reachable authorities.
| |||||||||||
Returns an array of all reachable authorities.
Reachable authorities are the directly assigned authorities plus all authorities that are (transitively) reachable from them in the role hierarchy.
Example:
Role hierarchy: ROLE_A > ROLE_B and ROLE_B > ROLE_C.
Directly assigned authority: ROLE_A.
Reachable authorities: ROLE_A, ROLE_B, ROLE_C.
| authorities | - List of the directly assigned authorities. |
|---|