Interface CsrfTokenRequestResolver
- All Known Subinterfaces:
- CsrfTokenRequestHandler
- All Known Implementing Classes:
- CsrfTokenRequestAttributeHandler,- XorCsrfTokenRequestAttributeHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implementations of this interface are capable of resolving the token value of a
 
CsrfToken from the provided HttpServletRequest. Used by the
 CsrfFilter.- Since:
- 5.8
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionresolveCsrfTokenValue(jakarta.servlet.http.HttpServletRequest request, CsrfToken csrfToken) Returns the token value resolved from the providedHttpServletRequestandCsrfTokenornullif not available.
- 
Method Details- 
resolveCsrfTokenValueReturns the token value resolved from the providedHttpServletRequestandCsrfTokenornullif not available.- Parameters:
- request- the- HttpServletRequestbeing processed
- csrfToken- the- CsrfTokencreated by the- CsrfTokenRepository
- Returns:
- the token value resolved from the request
 
 
-