クラス RemoteAuthenticationManagerImpl

  • 実装されたすべてのインターフェース:
    org.springframework.beans.factory.InitializingBeanRemoteAuthenticationManager

    @Deprecated
    public class RemoteAuthenticationManagerImpl
    extends java.lang.Object
    implements RemoteAuthenticationManager, org.springframework.beans.factory.InitializingBean
    使用すべきではありません。
    5.6.0 現在、代替なし
    リモート認証リクエストのサーバー側プロセッサー。

    この Bean は、それを保護するためにセキュリティインターセプターを必要としません。代わりに、Bean は構成済みの AuthenticationManager を使用して認証リクエストを解決します。

    • コンストラクターの詳細

      • RemoteAuthenticationManagerImpl

        public RemoteAuthenticationManagerImpl()
        使用すべきではありません。
    • メソッドの詳細

      • afterPropertiesSet

        public void afterPropertiesSet()
        使用すべきではありません。
        次で指定:
        インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet 
      • attemptAuthentication

        public java.util.Collection<? extends GrantedAuthority> attemptAuthentication​(java.lang.String username,
                                                                                      java.lang.String password)
                                                                               throws RemoteAuthenticationException
        使用すべきではありません。
        インターフェースからコピーされた説明: RemoteAuthenticationManager
        提示されたユーザー名とパスワードを使用して、リモートクライアントを認証しようとします。認証が成功すると、GrantedAuthority オブジェクトのコレクションが返されます。

        リモート処理プロトコルの互換性を最大化するために、最小限の引数で動作し、リモートクライアントが関連するユーザーインターフェースコマンドを有効 / 無効にするために必要な最小限の情報のみを返すという設計上の決定が行われました。ユーザーが同等の機能を実装するのを妨げるものは何もありません。より複雑なオブジェクト型で動作するパッケージ。

        次で指定:
        インターフェース RemoteAuthenticationManagerattemptAuthentication 
        パラメーター:
        username - リモートクライアントが認証に使用するユーザー名。
        password - リモートクライアントが認証に使用するパスワード。
        戻り値:
        指定されたユーザー名とパスワードが許可されているすべての権限。
        例外:
        RemoteAuthenticationException - 認証が失敗した場合。
      • getAuthenticationManager

        protected AuthenticationManager getAuthenticationManager()
        使用すべきではありません。
      • setAuthenticationManager

        public void setAuthenticationManager​(AuthenticationManager authenticationManager)
        使用すべきではありません。