这是配置的代码 值都有
@Override
protected void configure(HttpSecurity http) throws Exception {
http.formLogin()
.loginPage(securityProperties.getConfig().getLoginPage())
.loginProcessingUrl(securityProperties.getConfig().getLoginUrl())
.usernameParameter(securityProperties.getConfig().getUsername())
.passwordParameter(securityProperties.getConfig().getPassword())
.and()
.authorizeRequests()
.antMatchers("/v1/qzxTv/column/getAllColumn")
.permitAll()
.anyRequest().authenticated();
}
访问之后 会直接去跳转登录界面