クラス SpringSecurityAuthenticationSource

  • 実装済みのインターフェース一覧:
    org.springframework.ldap.core.AuthenticationSource

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

    This is a copy of Spring LDAP's AcegiAuthenticationSource, updated for use with Spring Security 2.0.

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

      • SpringSecurityAuthenticationSource

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

      • getPrincipal

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

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