更新配置
This commit is contained in:
parent
e45b19b370
commit
719d9a1740
@ -31,15 +31,14 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.authorizeRequests()
|
.authorizeRequests()
|
||||||
// 所有OPTIONS请求都放行
|
// 所有OPTIONS请求都放行
|
||||||
.antMatchers(HttpMethod.OPTIONS).permitAll()
|
.antMatchers(HttpMethod.OPTIONS).permitAll()
|
||||||
.antMatchers("/global/configuration/**").permitAll()
|
|
||||||
.antMatchers("/push/**").permitAll()
|
.antMatchers("/push/**").permitAll()
|
||||||
.antMatchers("/dispatch/**").permitAll()
|
|
||||||
.antMatchers("/queryFirePoint").permitAll()
|
.antMatchers("/queryFirePoint").permitAll()
|
||||||
.antMatchers( "/insertFirePoint").permitAll()
|
.antMatchers("/insertFirePoint").permitAll()
|
||||||
.antMatchers( "/insertFirePointChannelPrecise").permitAll()
|
.antMatchers("/insertFirePointChannelPrecise").permitAll()
|
||||||
.antMatchers("/queryFirePointBroadcast").permitAll()
|
.antMatchers("/queryFirePointBroadcast").permitAll()
|
||||||
.antMatchers("/autoSync").permitAll()
|
.antMatchers("/autoSync").permitAll()
|
||||||
.antMatchers(HttpMethod.GET, "/queryNotice").permitAll()//查询通知
|
.antMatchers("/debug").permitAll()
|
||||||
|
.antMatchers("/queryNotice").permitAll()//查询通知
|
||||||
.antMatchers(HttpMethod.POST, "/api/user/updateSysUser").permitAll()
|
.antMatchers(HttpMethod.POST, "/api/user/updateSysUser").permitAll()
|
||||||
.antMatchers(HttpMethod.POST, "/api/user/add").permitAll()
|
.antMatchers(HttpMethod.POST, "/api/user/add").permitAll()
|
||||||
.antMatchers(HttpMethod.POST, "/api/user/check/duplicate").permitAll()
|
.antMatchers(HttpMethod.POST, "/api/user/check/duplicate").permitAll()
|
||||||
@ -62,7 +61,6 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.antMatchers(HttpMethod.GET, "/api/adm/getCountyList").permitAll()//根据市编号获取区县列表
|
.antMatchers(HttpMethod.GET, "/api/adm/getCountyList").permitAll()//根据市编号获取区县列表
|
||||||
.antMatchers(HttpMethod.GET, "/api/adm/getStreetList").permitAll()//根据区县编号获取街道列表
|
.antMatchers(HttpMethod.GET, "/api/adm/getStreetList").permitAll()//根据区县编号获取街道列表
|
||||||
.antMatchers(HttpMethod.GET, "/selectTodayFirePoint").permitAll()
|
.antMatchers(HttpMethod.GET, "/selectTodayFirePoint").permitAll()
|
||||||
.antMatchers(HttpMethod.GET, "/debug").permitAll()
|
|
||||||
// 所有其它请求需要身份认证
|
// 所有其它请求需要身份认证
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
.and()
|
.and()
|
||||||
|
Loading…
Reference in New Issue
Block a user