|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.access.hierarchicalroles.NullRoleHierarchy
public final class NullRoleHierarchy
Constructor Summary | |
---|---|
NullRoleHierarchy()
|
Method Summary | |
---|---|
java.util.Collection<GrantedAuthority> |
getReachableGrantedAuthorities(java.util.Collection<GrantedAuthority> authorities)
Returns an array of all reachable authorities. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullRoleHierarchy()
Method Detail |
---|
public java.util.Collection<GrantedAuthority> getReachableGrantedAuthorities(java.util.Collection<GrantedAuthority> authorities)
RoleHierarchy
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.
getReachableGrantedAuthorities
in interface RoleHierarchy
authorities
- - List of the directly assigned authorities.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |