Package | Description |
---|---|
org.springframework.security.config.annotation.web.builders | |
org.springframework.security.config.annotation.web.configurers |
Modifier and Type | Method and Description |
---|---|
CsrfConfigurer<HttpSecurity> |
HttpSecurity.csrf()
Adds CSRF support.
|
Modifier and Type | Method and Description |
---|---|
CsrfConfigurer<H> |
CsrfConfigurer.csrfTokenRepository(CsrfTokenRepository csrfTokenRepository)
Specify the
CsrfTokenRepository to use. |
CsrfConfigurer<H> |
CsrfConfigurer.requireCsrfProtectionMatcher(RequestMatcher requireCsrfProtectionMatcher)
Specify the
RequestMatcher to use for determining when CSRF
should be applied. |
Copyright © 2019. All rights reserved.