public class WebAuthenticationDetailsSource extends java.lang.Object implements AuthenticationDetailsSource<HttpServletRequest,WebAuthenticationDetails>
AuthenticationDetailsSource
which builds the details object
from an HttpServletRequest object, creating a WebAuthenticationDetails
.Constructor and Description |
---|
WebAuthenticationDetailsSource() |
Modifier and Type | Method and Description |
---|---|
WebAuthenticationDetails |
buildDetails(HttpServletRequest context)
Called by a class when it wishes a new authentication details instance to be
created.
|
public WebAuthenticationDetails buildDetails(HttpServletRequest context)
AuthenticationDetailsSource
buildDetails
in interface AuthenticationDetailsSource<HttpServletRequest,WebAuthenticationDetails>
context
- the HttpServletRequest
object.WebAuthenticationDetails
containing information about the
current request