|
@@ -119,7 +119,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
.antMatchers("/**/*.ttf","/**/*.woff").permitAll()
|
|
.antMatchers("/**/*.ttf","/**/*.woff").permitAll()
|
|
.antMatchers("/entcls/tree","/knowledge/class/entcls/tree").permitAll()
|
|
.antMatchers("/entcls/tree","/knowledge/class/entcls/tree").permitAll()
|
|
// TODO 给算法提供的文件下载
|
|
// TODO 给算法提供的文件下载
|
|
- .antMatchers("/upload/uploadManage/download", "/extractKnowledge","/extract/subTask/saveKnowledge").permitAll()
|
|
|
|
|
|
+ .antMatchers("/upload/uploadManage/download", "/extractKnowledge","/extract/subTask/saveKnowledge","/kg/create").permitAll()
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
.anyRequest().authenticated()
|
|
.anyRequest().authenticated()
|
|
.and()
|
|
.and()
|