クラス UserDetailsServiceLdapAuthoritiesPopulator
java.lang.ObjectSE
org.springframework.security.ldap.authentication.UserDetailsServiceLdapAuthoritiesPopulator
- 実装されたすべてのインターフェース:
LdapAuthoritiesPopulator
public class UserDetailsServiceLdapAuthoritiesPopulator
extends ObjectSE
implements LdapAuthoritiesPopulator
ログイン時にユーザー名として提供された名前を使用して、UserDetailsService に委譲する単純な LdapAuthoritiesPopulator。
- 導入:
- 2.0
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明CollectionSE<? extends GrantedAuthority>
getGrantedAuthorities
(org.springframework.ldap.core.DirContextOperations userData, StringSE username) ユーザーの権限のリストを取得します。
コンストラクターの詳細
UserDetailsServiceLdapAuthoritiesPopulator
メソッドの詳細
getGrantedAuthorities
public CollectionSE<? extends GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, StringSE username) インターフェースからコピーされた説明:LdapAuthoritiesPopulator
ユーザーの権限のリストを取得します。- 次で指定:
- インターフェース
LdapAuthoritiesPopulator
のgetGrantedAuthorities
- パラメーター:
userData
- LDAP オーセンティケーターによって返されたコンテキストオブジェクト。- 戻り値:
- 特定のユーザーに付与された権限。