クラス 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
    • メソッドのサマリー

      すべてのメソッド   インスタンスメソッド   具象メソッド  
      修飾子と型 メソッド 説明
      java.lang.StringgetCredentials()
      java.lang.StringgetPrincipal()
      ログインしたユーザーのプリンシパル(この場合は識別名)を取得します。
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • コンストラクターの詳細

      • 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()