From 52def2bf97134bf4c39f7696738cce3864e94f05 Mon Sep 17 00:00:00 2001 From: tschiman Date: Mon, 24 Oct 2016 20:46:02 -0600 Subject: [PATCH] Modify formatting. --- .../spring/cloud/bootstrap/config/SecurityConfig.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-cloud/spring-cloud-bootstrap/config/src/main/java/com/baeldung/spring/cloud/bootstrap/config/SecurityConfig.java b/spring-cloud/spring-cloud-bootstrap/config/src/main/java/com/baeldung/spring/cloud/bootstrap/config/SecurityConfig.java index 914efe8160..f008dff90e 100644 --- a/spring-cloud/spring-cloud-bootstrap/config/src/main/java/com/baeldung/spring/cloud/bootstrap/config/SecurityConfig.java +++ b/spring-cloud/spring-cloud-bootstrap/config/src/main/java/com/baeldung/spring/cloud/bootstrap/config/SecurityConfig.java @@ -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(); } }