Spring Security Framework

org.springframework.security.ui
Class AuthenticationDetailsSourceImpl

java.lang.Object
  extended by 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

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

Constructor Detail

AuthenticationDetailsSourceImpl

public AuthenticationDetailsSourceImpl()
Method Detail

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)

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.