org.springframework.security.authentication
Class AuthenticationDetailsSourceImpl

java.lang.Object
  extended by org.springframework.security.authentication.AuthenticationDetailsSourceImpl
All Implemented Interfaces:
AuthenticationDetailsSource<Object,Object>
Direct Known Subclasses:
WebSpherePreAuthenticatedAuthenticationDetailsSource

Deprecated. Write an implementation of AuthenticationDetailsSource which returns the desired type directly.

@Deprecated
public class AuthenticationDetailsSourceImpl
extends Object
implements AuthenticationDetailsSource<Object,Object>

Base implementation of AuthenticationDetailsSource.

By default will create an instance of AuthenticationDetails. Any object that accepts an Object as its sole constructor can be used instead of this default.

Since:
2.0

Constructor Summary
AuthenticationDetailsSourceImpl()
          Deprecated.  
 
Method Summary
 Object buildDetails(Object context)
          Deprecated. Called by a class when it wishes a new authentication details instance to be created.
 void setClazz(Class<?> clazz)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationDetailsSourceImpl

public AuthenticationDetailsSourceImpl()
Deprecated. 
Method Detail

buildDetails

public Object buildDetails(Object context)
Deprecated. 
Description copied from interface: AuthenticationDetailsSource
Called by a class when it wishes a new authentication details instance to be created.

Specified by:
buildDetails in interface AuthenticationDetailsSource<Object,Object>
Parameters:
context - the request object, which may be used by the authentication details object
Returns:
a fully-configured authentication details instance

setClazz

public void setClazz(Class<?> clazz)
Deprecated.