Class WebAuthenticationDetailsSource
- java.lang.Object
-
- org.springframework.security.web.authentication.WebAuthenticationDetailsSource
-
- All Implemented Interfaces:
AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,WebAuthenticationDetails>
public class WebAuthenticationDetailsSource extends java.lang.Object implements AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,WebAuthenticationDetails>
Implementation ofAuthenticationDetailsSourcewhich builds the details object from an HttpServletRequest object, creating aWebAuthenticationDetails.
-
-
Constructor Summary
Constructors Constructor Description WebAuthenticationDetailsSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebAuthenticationDetailsbuildDetails(javax.servlet.http.HttpServletRequest context)Called by a class when it wishes a new authentication details instance to be created.
-
-
-
Method Detail
-
buildDetails
public WebAuthenticationDetails buildDetails(javax.servlet.http.HttpServletRequest context)
Description copied from interface:AuthenticationDetailsSourceCalled by a class when it wishes a new authentication details instance to be created.- Specified by:
buildDetailsin interfaceAuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,WebAuthenticationDetails>- Parameters:
context- theHttpServletRequestobject.- Returns:
- the
WebAuthenticationDetailscontaining information about the current request
-
-