public class BindAuthenticator extends AbstractLdapAuthenticator
messages| コンストラクターと説明 |
|---|
BindAuthenticator(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource) 提供されている BaseLdapPathContextSource を使用して、初期化されたインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
org.springframework.ldap.core.DirContextOperations | authenticate(Authentication authentication) ユーザーとして認証し、ディレクトリから追加のユーザー情報を取得します。 |
protected void | handleBindException(java.lang.String userDn, java.lang.String username, java.lang.Throwable cause) サブクラスが特定の DN とのバインドの試みによってスローされた例外をインスペクションできるようにします。 |
afterPropertiesSet, getContextSource, getUserAttributes, getUserDns, getUserSearch, setMessageSource, setUserAttributes, setUserDnPatterns, setUserSearchpublic BindAuthenticator(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
BaseLdapPathContextSource を使用して、初期化されたインスタンスを作成します。contextSource - バインド操作が実行される BaseLdapPathContextSource インスタンス。public org.springframework.ldap.core.DirContextOperations authenticate(Authentication authentication)
LdapAuthenticatorprotected void handleBindException(java.lang.String userDn,
java.lang.String username,
java.lang.Throwable cause)