We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e81bbe commit 404a6c5Copy full SHA for 404a6c5
config/src/main/java/org/springframework/security/config/annotation/web/configurers/CsrfConfigurer.java
@@ -201,7 +201,6 @@ public CsrfConfigurer<H> sessionAuthenticationStrategy(
201
@SuppressWarnings("unchecked")
202
@Override
203
public void configure(H http) {
204
- http.setSharedObject(CsrfTokenRepository.class, this.csrfTokenRepository);
205
CsrfFilter filter = new CsrfFilter(this.csrfTokenRepository);
206
RequestMatcher requireCsrfProtectionMatcher = getRequireCsrfProtectionMatcher();
207
if (requireCsrfProtectionMatcher != null) {
0 commit comments