Class RemoteAuthenticationManagerImpl
- java.lang.Object
- 
- org.springframework.security.authentication.rcp.RemoteAuthenticationManagerImpl
 
- 
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean,- RemoteAuthenticationManager
 
 @Deprecated public class RemoteAuthenticationManagerImpl extends java.lang.Object implements RemoteAuthenticationManager, org.springframework.beans.factory.InitializingBean Deprecated.as of 5.6.0 with no replacementServer-side processor of a remote authentication request.This bean requires no security interceptor to protect it. Instead, the bean uses the configured AuthenticationManagerto resolve an authentication request.
- 
- 
Constructor SummaryConstructors Constructor Description RemoteAuthenticationManagerImpl()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterPropertiesSet()Deprecated.java.util.Collection<? extends GrantedAuthority>attemptAuthentication(java.lang.String username, java.lang.String password)Deprecated.Attempts to authenticate the remote client using the presented username and password.protected AuthenticationManagergetAuthenticationManager()Deprecated.voidsetAuthenticationManager(AuthenticationManager authenticationManager)Deprecated.
 
- 
- 
- 
Method Detail- 
afterPropertiesSetpublic void afterPropertiesSet() Deprecated.- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
 
 - 
attemptAuthenticationpublic java.util.Collection<? extends GrantedAuthority> attemptAuthentication(java.lang.String username, java.lang.String password) throws RemoteAuthenticationException Deprecated.Description copied from interface:RemoteAuthenticationManagerAttempts to authenticate the remote client using the presented username and password. If authentication is successful, a collection ofGrantedAuthorityobjects will be returned.In order to maximise remoting protocol compatibility, a design decision was taken to operate with minimal arguments and return only the minimal amount of information required for remote clients to enable/disable relevant user interface commands etc. There is nothing preventing users from implementing their own equivalent package that works with more complex object types. - Specified by:
- attemptAuthenticationin interface- RemoteAuthenticationManager
- Parameters:
- username- the username the remote client wishes to authenticate with.
- password- the password the remote client wishes to authenticate with.
- Returns:
- all of the granted authorities the specified username and password have access to.
- Throws:
- RemoteAuthenticationException- if the authentication failed.
 
 - 
getAuthenticationManagerprotected AuthenticationManager getAuthenticationManager() Deprecated.
 - 
setAuthenticationManagerpublic void setAuthenticationManager(AuthenticationManager authenticationManager) Deprecated.
 
- 
 
-