org.springframework.security.ui
Class AuthenticationDetailsSourceImpl
java.lang.Object
org.springframework.security.ui.AuthenticationDetailsSourceImpl
- All Implemented Interfaces:
- AuthenticationDetailsSource
- Direct Known Subclasses:
- AbstractPreAuthenticatedAuthenticationDetailsSource, WebSpherePreAuthenticatedAuthenticationDetailsSource
public class AuthenticationDetailsSourceImpl
- extends Object
- implements AuthenticationDetailsSource
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
- Author:
- Ruud Senden
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationDetailsSourceImpl
public AuthenticationDetailsSourceImpl()
buildDetails
public Object buildDetails(Object context)
- 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
- 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)
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.