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

View File

@ -89,7 +89,6 @@ public class DeferHttpSessionJavaConfigTests {
.requireExplicitAuthenticationStrategy(true)
)
.csrf((csrf) -> csrf
.csrfRequestAttributeName("_csrf")
.csrfTokenRepository(csrfRepository)
);
// @formatter:on

View File

@ -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>