Class WebAuthenticationDetailsSource
java.lang.Object
org.springframework.security.web.authentication.WebAuthenticationDetailsSource
- All Implemented Interfaces:
AuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,
WebAuthenticationDetails>
public class WebAuthenticationDetailsSource
extends Object
implements AuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,WebAuthenticationDetails>
Implementation of
AuthenticationDetailsSource
which builds the details object
from an HttpServletRequest object, creating a WebAuthenticationDetails
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildDetails
(jakarta.servlet.http.HttpServletRequest context) Called by a class when it wishes a new authentication details instance to be created.
-
Constructor Details
-
WebAuthenticationDetailsSource
public WebAuthenticationDetailsSource()
-
-
Method Details
-
buildDetails
Description copied from interface:AuthenticationDetailsSource
Called by a class when it wishes a new authentication details instance to be created.- Specified by:
buildDetails
in interfaceAuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,
WebAuthenticationDetails> - Parameters:
context
- theHttpServletRequest
object.- Returns:
- the
WebAuthenticationDetails
containing information about the current request
-