|
|
@@ -183,6 +183,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
.antMatchers("/news/newsInfo").permitAll()
|
|
|
.antMatchers("/metaResources/like/**").permitAll()
|
|
|
.antMatchers("/metaResources/getLikeNum/**").permitAll()
|
|
|
+ .antMatchers("/metaProblem/findAll").permitAll()
|
|
|
+ .antMatchers("/metaQuestion/queryByApplication/**").permitAll()
|
|
|
// all other requests need to be authenticated
|
|
|
.anyRequest().authenticated().and()
|
|
|
// make sure we use stateless session; session won't be used to
|