mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
Update DeferHttpSession Tests
Closes gh-11764
This commit is contained in:
parent
8cb97a090b
commit
7bf2d3dc4e
@ -89,7 +89,6 @@ public class DeferHttpSessionJavaConfigTests {
|
|||||||
.requireExplicitAuthenticationStrategy(true)
|
.requireExplicitAuthenticationStrategy(true)
|
||||||
)
|
)
|
||||||
.csrf((csrf) -> csrf
|
.csrf((csrf) -> csrf
|
||||||
.csrfRequestAttributeName("_csrf")
|
|
||||||
.csrfTokenRepository(csrfRepository)
|
.csrfTokenRepository(csrfRepository)
|
||||||
);
|
);
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
|
@ -29,8 +29,7 @@
|
|||||||
<http auto-config="true"
|
<http auto-config="true"
|
||||||
use-authorization-manager="true">
|
use-authorization-manager="true">
|
||||||
<intercept-url pattern="/**" access="permitAll"/>
|
<intercept-url pattern="/**" access="permitAll"/>
|
||||||
<csrf request-attribute-name="_csrf"
|
<csrf token-repository-ref="csrfRepository"/>
|
||||||
token-repository-ref="csrfRepository"/>
|
|
||||||
<request-cache ref="requestCache"/>
|
<request-cache ref="requestCache"/>
|
||||||
<session-management authentication-strategy-explicit-invocation="true"/>
|
<session-management authentication-strategy-explicit-invocation="true"/>
|
||||||
</http>
|
</http>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user