クラス UserDetailsServiceLdapAuthoritiesPopulator

  • 実装されたすべてのインターフェース:
    LdapAuthoritiesPopulator

    public class UserDetailsServiceLdapAuthoritiesPopulator
    extends java.lang.Object
    implements LdapAuthoritiesPopulator
    ログイン時にユーザー名として提供された名前を使用して、UserDetailsService に委譲する単純な LdapAuthoritiesPopulator。
    導入:
    2.0
    • コンストラクターの詳細

      • UserDetailsServiceLdapAuthoritiesPopulator

        public UserDetailsServiceLdapAuthoritiesPopulator​(UserDetailsService userService)
    • メソッドの詳細

      • getGrantedAuthorities

        public java.util.Collection<? extends GrantedAuthority> getGrantedAuthorities​(org.springframework.ldap.core.DirContextOperations userData,
                                                                                      java.lang.String username)
        インターフェースからコピーされた説明: LdapAuthoritiesPopulator
        ユーザーの権限のリストを取得します。
        次で指定:
        インターフェース LdapAuthoritiesPopulatorgetGrantedAuthorities 
        パラメーター:
        userData - LDAP オーセンティケーターによって返されたコンテキストオブジェクト。
        戻り値:
        特定のユーザーに付与された権限。