Modify formatting.
This commit is contained in:
parent
8cfe4cc39f
commit
52def2bf97
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue