File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/main/java/ru/mystamps/web/support/spring/security Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 32
32
<commons .lang.version>3.3.2</commons .lang.version>
33
33
<commons .io.version>2.4</commons .io.version>
34
34
<thymeleaf .togglz.version>1.0.1.RELEASE</thymeleaf .togglz.version>
35
- <togglz .version>2.1 .0.Final</togglz .version>
35
+ <togglz .version>2.2 .0.Final</togglz .version>
36
36
37
37
<!--
38
38
Also don't forget to change version in:
281
281
282
282
<dependency >
283
283
<groupId >org.togglz</groupId >
284
- <artifactId >togglz-spring</artifactId >
284
+ <artifactId >togglz-spring-core </artifactId >
285
285
<version >${togglz.version} </version >
286
286
<scope >runtime</scope >
287
287
</dependency >
Original file line number Diff line number Diff line change @@ -94,13 +94,9 @@ protected void configure(HttpSecurity http) throws Exception {
94
94
.authenticationEntryPoint (new Http401UnauthorizedEntryPoint ())
95
95
.and ()
96
96
.csrf ()
97
- // Allow unsecured requests to Togglz and H2 consoles.
98
- // See also: https://github.com/togglz/togglz/issues/119
97
+ // Allow unsecured requests to H2 consoles.
99
98
// See also: src/main/java/ru/mystamps/web/support/h2/H2Config.java
100
- // See also: src/main/java/ru/mystamps/web/support/togglz/TogglzConfig.java
101
- .requireCsrfProtectionMatcher (
102
- new AllExceptUrlsStartedWith (Url .TOGGLZ_CONSOLE_PAGE , "/console" )
103
- )
99
+ .requireCsrfProtectionMatcher (new AllExceptUrlsStartedWith ("/console" ))
104
100
.and ()
105
101
.rememberMe ()
106
102
// TODO: GH #27
You can’t perform that action at this time.
0 commit comments