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 77import org .springframework .context .annotation .Configuration ;
88import org .springframework .data .jpa .repository .config .EnableJpaAuditing ;
99import org .springframework .data .web .config .EnableSpringDataWebSupport ;
10+ import org .springframework .http .HttpMethod ;
1011import org .springframework .scheduling .annotation .EnableAsync ;
1112import org .springframework .security .authentication .AuthenticationManager ;
1213import org .springframework .security .config .annotation .authentication .builders .AuthenticationManagerBuilder ;
@@ -60,7 +61,7 @@ protected void configure(HttpSecurity http) throws Exception {
6061 .headers ()
6162 .disable ()
6263 .authorizeRequests ()
63- .antMatchers (simpleworklistProperties .getWebSecurity ().getAntPatternsPublic ())
64+ .antMatchers (HttpMethod . GET , simpleworklistProperties .getWebSecurity ().getAntPatternsPublic ())
6465 .permitAll ()
6566 .anyRequest ()
6667 .fullyAuthenticated ()
Original file line number Diff line number Diff line change 8181 webMvc :
8282 controllerPageSize : 10
8383 staticResourceHandler :
84+ - " /favicon.ico"
8485 - " /css"
8586 - " /img"
8687 - " /js"
104105 antPatternsPublic :
105106 - " /favicon.ico"
106107 - " /favicon.ico*"
107- - " /pages/**"
108+ - " /pages/information"
109+ - " /pages/information*"
110+ - " /pages/information/**"
108111 - " /webjars/**"
109112 - " /css/**"
110113 - " /img/**"
You can’t perform that action at this time.
0 commit comments