mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 08:42:13 +00:00
Revert "Publish CsrfTokenRepository as shared object"
This reverts commit d19ff12813f0e5086eadc60386fcfdc6a655826b.
This commit is contained in:
parent
4e81bbe386
commit
404a6c5674
@ -201,7 +201,6 @@ public final class CsrfConfigurer<H extends HttpSecurityBuilder<H>>
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void configure(H http) {
|
||||
http.setSharedObject(CsrfTokenRepository.class, this.csrfTokenRepository);
|
||||
CsrfFilter filter = new CsrfFilter(this.csrfTokenRepository);
|
||||
RequestMatcher requireCsrfProtectionMatcher = getRequireCsrfProtectionMatcher();
|
||||
if (requireCsrfProtectionMatcher != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user