クラス BindAuthenticator

java.lang.ObjectSE
org.springframework.security.ldap.authentication.AbstractLdapAuthenticator
org.springframework.security.ldap.authentication.BindAuthenticator
実装されたすべてのインターフェース:
org.springframework.beans.factory.Awareorg.springframework.beans.factory.InitializingBeanorg.springframework.context.MessageSourceAwareLdapAuthenticator

public class BindAuthenticator extends AbstractLdapAuthenticator
ユーザーとしてバインドするオーセンティケーター。
関連事項:
  • コンストラクターの詳細

    • BindAuthenticator

      public BindAuthenticator(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
      提供されている BaseLdapPathContextSource を使用して、初期化されたインスタンスを作成します。
      パラメーター:
      contextSource - バインド操作が実行される BaseLdapPathContextSource インスタンス。
  • メソッドの詳細

    • authenticate

      public org.springframework.ldap.core.DirContextOperations authenticate(Authentication authentication)
      インターフェースからコピーされた説明: LdapAuthenticator
      ユーザーとして認証し、ディレクトリから追加のユーザー情報を取得します。
      戻り値:
      正常に認証されたユーザーの詳細。
    • handleBindException

      protected void handleBindException(StringSE userDn, StringSE username, ThrowableSE cause)
      サブクラスが特定の DN とのバインドの試みによってスローされた例外をインスペクションできるようにします。デフォルトの実装では、失敗をデバッグロガーに報告するだけです。