public final class NullRoleHierarchy extends java.lang.Object implements RoleHierarchy
| コンストラクターと説明 |
|---|
NullRoleHierarchy() |
| 修飾子と型 | メソッドと説明 |
|---|---|
java.util.Collection<? extends GrantedAuthority> | getReachableGrantedAuthorities(java.util.Collection<? extends GrantedAuthority> authorities) 到達可能なすべての権限の配列を返します。 |
public java.util.Collection<? extends GrantedAuthority> getReachableGrantedAuthorities(java.util.Collection<? extends GrantedAuthority> authorities)
RoleHierarchy到達可能権限は、直接割り当てられた権限に加えて、ロール階層内でそれらから(推移的に)到達可能なすべての権限です。
例:
ロール階層: ROLE_A> ROLE_B> ROLE_C。
直接割り当てられた権限: ROLE_A。
到達可能な権限: ROLE_A、ROLE_B、ROLE_C。
RoleHierarchy 内の getReachableGrantedAuthorities authorities - - 直接割り当てられた権限のリスト。