クラス UserDetailsServiceLdapAuthoritiesPopulator

java.lang.ObjectSE
org.springframework.security.ldap.authentication.UserDetailsServiceLdapAuthoritiesPopulator
実装されたすべてのインターフェース:
LdapAuthoritiesPopulator

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

    • UserDetailsServiceLdapAuthoritiesPopulator

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

    • getGrantedAuthorities

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