编写简单的安全性配置
protected void configure(HttpSecurity http) throws Exception { http .authorizeRequests() .anyRequest().authorized() .and() .formLogin() .and() .httpBasic(); }
Last updated
protected void configure(HttpSecurity http) throws Exception { http .authorizeRequests() .anyRequest().authorized() .and() .formLogin() .and() .httpBasic(); }
Last updated