|
@@ -26,7 +26,7 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
|
public void configure(HttpSecurity http) throws Exception {
|
|
|
http.csrf().disable().exceptionHandling().accessDeniedHandler(baseAccessDeniedHandler).authenticationEntryPoint(baseAuthenticationEntryPoint).and()
|
|
|
.authorizeRequests().antMatchers("/task/**").hasIpAddress("0.0.0.0/0")
|
|
|
- .antMatchers("/v2/api-docs", "/classGroup/highClassGroups", "/code/*", "/api/*", "/appVersionInfo/queryByPlatform","/degree/*").permitAll().anyRequest()
|
|
|
+ .antMatchers("/v2/api-docs", "/classGroup/highClassGroups", "/code/*", "/api/*", "/appVersionInfo/queryByPlatform","/eduDegree/*").permitAll().anyRequest()
|
|
|
.authenticated().and().httpBasic();
|
|
|
}
|
|
|
|