org.acegisecurity.ui
Class AuthenticationDetailsSourceImpl

java.lang.Object
  extended by org.acegisecurity.ui.AuthenticationDetailsSourceImpl
All Implemented Interfaces:
AuthenticationDetailsSource

public class AuthenticationDetailsSourceImpl
extends 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

Constructor Summary
AuthenticationDetailsSourceImpl()
           
 
Method Summary
 Object buildDetails(javax.servlet.http.HttpServletRequest request)
          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(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(Class clazz)


Copyright © 2004-2009 Interface21, Inc. All Rights Reserved.