修改单点登录
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user