Skip to content

Commit 404a6c5

Browse files
committed
Revert "Publish CsrfTokenRepository as shared object"
This reverts commit d19ff12.
1 parent 4e81bbe commit 404a6c5

File tree

1 file changed

+0
-1
lines changed
  • config/src/main/java/org/springframework/security/config/annotation/web/configurers

1 file changed

+0
-1
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/configurers/CsrfConfigurer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ public CsrfConfigurer<H> sessionAuthenticationStrategy(
201201
@SuppressWarnings("unchecked")
202202
@Override
203203
public void configure(H http) {
204-
http.setSharedObject(CsrfTokenRepository.class, this.csrfTokenRepository);
205204
CsrfFilter filter = new CsrfFilter(this.csrfTokenRepository);
206205
RequestMatcher requireCsrfProtectionMatcher = getRequireCsrfProtectionMatcher();
207206
if (requireCsrfProtectionMatcher != null) {

0 commit comments

Comments
 (0)