クラス SpringSecurityAuthenticationSource

  • 実装されたすべてのインターフェース:
    org.springframework.ldap.core.AuthenticationSource

    public class SpringSecurityAuthenticationSource
    extends java.lang.Object
    implements org.springframework.ldap.core.AuthenticationSource
    Spring Security の SecurityContextHolder に格納されている認証情報を取得する AuthenticationSource。

    これは Spring LDAP の AcegiAuthenticationSource のコピーであり、Spring Security 2.0 で使用するために更新されています。

    導入:
    2.0
    • コンストラクターの詳細

      • SpringSecurityAuthenticationSource

        public SpringSecurityAuthenticationSource()
    • メソッドの詳細

      • getPrincipal

        public java.lang.String getPrincipal()
        ログインしたユーザーのプリンシパル(この場合は識別名)を取得します。
        次で指定:
        インターフェース org.springframework.ldap.core.AuthenticationSourcegetPrincipal 
        戻り値:
        ログインしたユーザーの識別名。
      • getCredentials

        public java.lang.String getCredentials()
        次で指定:
        インターフェース org.springframework.ldap.core.AuthenticationSourcegetCredentials 
        関連事項:
        AuthenticationSource.getCredentials()