根据用户名称实现单点登录一、参数格式二、后端实现添加IAuthenticationProvider修改SecurityConfig 放行我们的请求登录路径 并把自定义认证加进来 .antMatchers("/hello","/single/login","/login", "/register", "/captchaImage").anonymous() @Override protected void configure(AuthenticationManagerBuilder auth) throws Exception {