Class WebAuthenticationDetailsSource
- java.lang.Object
-
- org.springframework.security.web.authentication.WebAuthenticationDetailsSource
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,WebAuthenticationDetails>
public class WebAuthenticationDetailsSource extends java.lang.Object implements org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,WebAuthenticationDetails>
Implementation ofAuthenticationDetailsSource
which 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 WebAuthenticationDetails
buildDetails(javax.servlet.http.HttpServletRequest context)
-
-
-
Method Detail
-
buildDetails
public WebAuthenticationDetails buildDetails(javax.servlet.http.HttpServletRequest context)
- Specified by:
buildDetails
in interfaceorg.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,WebAuthenticationDetails>
- Parameters:
context
- theHttpServletRequest
object.- Returns:
- the
WebAuthenticationDetails
containing information about the current request
-
-