File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
java/org/woehlke/java/simpleworklist/config Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 7
7
import org .springframework .context .annotation .Configuration ;
8
8
import org .springframework .data .jpa .repository .config .EnableJpaAuditing ;
9
9
import org .springframework .data .web .config .EnableSpringDataWebSupport ;
10
+ import org .springframework .http .HttpMethod ;
10
11
import org .springframework .scheduling .annotation .EnableAsync ;
11
12
import org .springframework .security .authentication .AuthenticationManager ;
12
13
import org .springframework .security .config .annotation .authentication .builders .AuthenticationManagerBuilder ;
@@ -60,7 +61,7 @@ protected void configure(HttpSecurity http) throws Exception {
60
61
.headers ()
61
62
.disable ()
62
63
.authorizeRequests ()
63
- .antMatchers (simpleworklistProperties .getWebSecurity ().getAntPatternsPublic ())
64
+ .antMatchers (HttpMethod . GET , simpleworklistProperties .getWebSecurity ().getAntPatternsPublic ())
64
65
.permitAll ()
65
66
.anyRequest ()
66
67
.fullyAuthenticated ()
Original file line number Diff line number Diff line change 81
81
webMvc :
82
82
controllerPageSize : 10
83
83
staticResourceHandler :
84
+ - " /favicon.ico"
84
85
- " /css"
85
86
- " /img"
86
87
- " /js"
104
105
antPatternsPublic :
105
106
- " /favicon.ico"
106
107
- " /favicon.ico*"
107
- - " /pages/**"
108
+ - " /pages/information"
109
+ - " /pages/information*"
110
+ - " /pages/information/**"
108
111
- " /webjars/**"
109
112
- " /css/**"
110
113
- " /img/**"
You can’t perform that action at this time.
0 commit comments