インターフェース LdapAuthoritiesPopulator
- すべての既知の実装クラス:
DefaultActiveDirectoryAuthoritiesPopulator
、DefaultLdapAuthoritiesPopulator
、NestedLdapAuthoritiesPopulator
、NullLdapAuthoritiesPopulator
、UserDetailsServiceLdapAuthoritiesPopulator
public interface LdapAuthoritiesPopulator
Ldap ユーザーに付与された権限のリストを取得します。
最終的なユーザー詳細オブジェクトを作成するためにユーザーが認証されると、 LdapAuthenticationProvider によって使用されます。
メソッドのサマリー
修飾子と型メソッド説明CollectionSE<? extends GrantedAuthority>
getGrantedAuthorities
(org.springframework.ldap.core.DirContextOperations userData, StringSE username) ユーザーの権限のリストを取得します。
メソッドの詳細
getGrantedAuthorities
CollectionSE<? extends GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, StringSE username) ユーザーの権限のリストを取得します。- パラメーター:
userData
- LDAP オーセンティケーターによって返されたコンテキストオブジェクト。- 戻り値:
- 特定のユーザーに付与された権限。