org.acegisecurity.ui
Class AuthenticationDetailsSourceImpl
java.lang.Object
org.acegisecurity.ui.AuthenticationDetailsSourceImpl
- All Implemented Interfaces:
- AuthenticationDetailsSource
public class AuthenticationDetailsSourceImpl
- extends java.lang.Object
- implements AuthenticationDetailsSource
Base implementation of AuthenticationDetailsSource
.
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: AuthenticationDetailsSourceImpl.java 1496 2006-05-23 13:38:33Z benalex $
- Author:
- Ben Alex
Method Summary |
java.lang.Object |
buildDetails(javax.servlet.http.HttpServletRequest request)
Called by a class when it wishes a new authentication details instance to be created. |
void |
setClazz(java.lang.Class clazz)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationDetailsSourceImpl
public AuthenticationDetailsSourceImpl()
buildDetails
public java.lang.Object buildDetails(javax.servlet.http.HttpServletRequest request)
- 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:
request
- the request object, which may be used by the authentication details object
- Returns:
- a fully-configured authentication details instance
setClazz
public void setClazz(java.lang.Class clazz)
Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.