spring-security-web

org.springframework.security.web.authentication
Class WebAuthenticationDetailsSource

java.lang.Object
  extended by org.springframework.security.web.authentication.WebAuthenticationDetailsSource
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationDetailsSource

public class WebAuthenticationDetailsSource
extends Object
implements org.springframework.security.authentication.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.

Author:
Ben Alex

Constructor Summary
WebAuthenticationDetailsSource()
           
 
Method Summary
 Object buildDetails(Object context)
           
 void setClazz(Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAuthenticationDetailsSource

public WebAuthenticationDetailsSource()
Method Detail

buildDetails

public Object buildDetails(Object context)
Specified by:
buildDetails in interface org.springframework.security.authentication.AuthenticationDetailsSource
Parameters:
context - the HttpServletRequest object.

setClazz

public void setClazz(Class<?> clazz)

spring-security-web