org.springframework.security.ui
Class WebAuthenticationDetailsSource
java.lang.Object
org.springframework.security.ui.WebAuthenticationDetailsSource
- All Implemented Interfaces:
- AuthenticationDetailsSource
public class WebAuthenticationDetailsSource
- extends Object
- implements AuthenticationDetailsSource
Implementation of AuthenticationDetailsSource
which builds the details object from
an HttpServletRequest object.
By default will create an instance of WebAuthenticationDetails
. Any object that accepts a
HttpServletRequest
as its sole constructor can be used instead of this default.
- Version:
- $Id$
- Author:
- Ben Alex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebAuthenticationDetailsSource
public WebAuthenticationDetailsSource()
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 HttpServletRequest object.
- Returns:
- a fully-configured authentication details instance
setClazz
public void setClazz(Class clazz)
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.