CsrfDsl
class CsrfDsl
A Kotlin DSL to configure HttpSecurity CSRF protection using idiomatic Kotlin code.
Author
Eleftheria Stein
Since
5.3
Properties
Link copied to clipboard
the CsrfTokenRepository to use.
Link copied to clipboard
the CsrfTokenRequestHandler to use for making the CSRF token available as a request attribute
Link copied to clipboard
specify the RequestMatcher to use for determining when CSRF should be applied.
Link copied to clipboard
the SessionAuthenticationStrategy to use.
Functions
Link copied to clipboard
Allows specifying HttpServletRequests that should not use CSRF Protection even if they match the requireCsrfProtectionMatcher.