Modify formatting.
This commit is contained in:
parent
8cfe4cc39f
commit
52def2bf97
@ -11,6 +11,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
|
||||
@Override
|
||||
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…
x
Reference in New Issue
Block a user