クラス SpringSecurityAuthenticationSource
- java.lang.Object
-
- org.springframework.security.ldap.authentication.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()
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 java.lang.String
getCredentials()
java.lang.String
getPrincipal()
ログインしたユーザーのプリンシパル(この場合は識別名)を取得します。
メソッドの詳細
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()