在代码中有配置"/oauth/*" 不需要登录认证
.and()
.authorizeRequests()//对下面请求
.antMatchers("/authentication/require","/oauth/*"
,securityProperties.getBrowser().getLoginPage()
,"/code/*").permitAll()//对这些个请求不需要身份验证
.anyRequest()//任何请求
.authenticated()//都需要认证 /登录