1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Update DeferHttpSession Tests

Closes gh-11764
This commit is contained in:
Rob Winch
2022-08-31 14:40:06 -05:00
parent 8cb97a090b
commit 7bf2d3dc4e
2 changed files with 1 additions and 3 deletions
@@ -89,7 +89,6 @@ public class DeferHttpSessionJavaConfigTests {
.requireExplicitAuthenticationStrategy(true)
)
.csrf((csrf) -> csrf
.csrfRequestAttributeName("_csrf")
.csrfTokenRepository(csrfRepository)
);
// @formatter:on
@@ -29,8 +29,7 @@
<http auto-config="true"
use-authorization-manager="true">
<intercept-url pattern="/**" access="permitAll"/>
<csrf request-attribute-name="_csrf"
token-repository-ref="csrfRepository"/>
<csrf token-repository-ref="csrfRepository"/>
<request-cache ref="requestCache"/>
<session-management authentication-strategy-explicit-invocation="true"/>
</http>