parent
8cb97a090b
commit
7bf2d3dc4e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue