提交 24250a83 编写于 作者: zhouweidong's avatar zhouweidong

放行ou用户接口

上级 4a9c83f1
...@@ -93,6 +93,7 @@ public class DevBootSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -93,6 +93,7 @@ public class DevBootSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/ibzou/org/**").permitAll() .antMatchers("/ibzou/org/**").permitAll()
.antMatchers("/ibzemployees/**/oumaps").permitAll() .antMatchers("/ibzemployees/**/oumaps").permitAll()
.antMatchers("/dictionarys/**").permitAll() .antMatchers("/dictionarys/**").permitAll()
.antMatchers("/sysemployees/**/oumaps").permitAll()
//放行登录请求 //放行登录请求
.antMatchers( HttpMethod.POST,"/"+loginPath).permitAll() .antMatchers( HttpMethod.POST,"/"+loginPath).permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()
......
...@@ -121,6 +121,7 @@ public class apiSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -121,6 +121,7 @@ public class apiSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/ibzemployees/**/oumaps").permitAll() .antMatchers("/ibzemployees/**/oumaps").permitAll()
.antMatchers("/ibzorganizations/**/suborg/picker").permitAll() .antMatchers("/ibzorganizations/**/suborg/picker").permitAll()
.antMatchers("/dictionarys/**").permitAll() .antMatchers("/dictionarys/**").permitAll()
.antMatchers("/sysemployees/**/oumaps").permitAll()
// 所有请求都需要认证 // 所有请求都需要认证
.anyRequest().authenticated() .anyRequest().authenticated()
// 防止iframe 造成跨域 // 防止iframe 造成跨域
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册