クラス RemoteAuthenticationManagerImpl
- java.lang.Object
-
- org.springframework.security.authentication.rcp.RemoteAuthenticationManagerImpl
- 実装されたすべてのインターフェース:
org.springframework.beans.factory.InitializingBean
,RemoteAuthenticationManager
@Deprecated public class RemoteAuthenticationManagerImpl extends java.lang.Object implements RemoteAuthenticationManager, org.springframework.beans.factory.InitializingBean
使用すべきではありません。5.6.0 現在、代替なしリモート認証リクエストのサーバー側プロセッサー。この Bean は、それを保護するためにセキュリティインターセプターを必要としません。代わりに、Bean は構成済みの
AuthenticationManager
を使用して認証リクエストを解決します。
コンストラクターのサマリー
コンストラクター コンストラクター 説明 RemoteAuthenticationManagerImpl()
使用すべきではありません。
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 非推奨のメソッド 修飾子と型 メソッド 説明 void
afterPropertiesSet()
使用すべきではありません。java.util.Collection<? extends GrantedAuthority>
attemptAuthentication(java.lang.String username, java.lang.String password)
使用すべきではありません。提示されたユーザー名とパスワードを使用して、リモートクライアントを認証しようとします。protected AuthenticationManager
getAuthenticationManager()
使用すべきではありません。void
setAuthenticationManager(AuthenticationManager authenticationManager)
使用すべきではありません。
メソッドの詳細
afterPropertiesSet
public void afterPropertiesSet()
使用すべきではありません。- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBean
のafterPropertiesSet
attemptAuthentication
public java.util.Collection<? extends GrantedAuthority> attemptAuthentication(java.lang.String username, java.lang.String password) throws RemoteAuthenticationException
使用すべきではありません。インターフェースからコピーされた説明:RemoteAuthenticationManager
提示されたユーザー名とパスワードを使用して、リモートクライアントを認証しようとします。認証が成功すると、GrantedAuthority
オブジェクトのコレクションが返されます。リモート処理プロトコルの互換性を最大化するために、最小限の引数で動作し、リモートクライアントが関連するユーザーインターフェースコマンドを有効 / 無効にするために必要な最小限の情報のみを返すという設計上の決定が行われました。ユーザーが同等の機能を実装するのを妨げるものは何もありません。より複雑なオブジェクト型で動作するパッケージ。
- 次で指定:
- インターフェース
RemoteAuthenticationManager
のattemptAuthentication
- パラメーター:
username
- リモートクライアントが認証に使用するユーザー名。password
- リモートクライアントが認証に使用するパスワード。- 戻り値:
- 指定されたユーザー名とパスワードが許可されているすべての権限。
- 例外:
RemoteAuthenticationException
- 認証が失敗した場合。
getAuthenticationManager
protected AuthenticationManager getAuthenticationManager()
使用すべきではありません。
setAuthenticationManager
public void setAuthenticationManager(AuthenticationManager authenticationManager)
使用すべきではありません。