修改单点登录

This commit is contained in:
chy
2026-03-11 00:08:12 +08:00
parent d7aa0de3be
commit 94a7c9e000
8 changed files with 114 additions and 17 deletions

View File

@@ -178,7 +178,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
.and()
.authorizeRequests()
.antMatchers("/login/**","/logout", "/health", "/user/loginCode/**").permitAll()
.antMatchers("/login/**","/logout","/outlogcas", "/health", "/user/loginCode/**").permitAll()
.mvcMatchers(HttpMethod.GET,"/dict/item/**").permitAll()
.anyRequest().authenticated()
.and()