Modify formatting.

This commit is contained in:
tschiman 2016-10-24 20:46:02 -06:00
parent 8cfe4cc39f
commit 52def2bf97
1 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override @Override
protected void configure(HttpSecurity http) throws Exception { protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests().anyRequest().hasRole("SYSTEM").and().httpBasic().and().csrf().disable(); http
.authorizeRequests().anyRequest().hasRole("SYSTEM").and()
.httpBasic().and()
.csrf().disable();
} }
} }