Skip to content

Commit 95b9678

Browse files
committed
BAEL-315 reformatting some code.
1 parent 4029a3f commit 95b9678

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • spring-cloud/spring-cloud-bootstrap/config/src/main/java/com/baeldung/spring/cloud/bootstrap/config

‎spring-cloud/spring-cloud-bootstrap/config/src/main/java/com/baeldung/spring/cloud/bootstrap/config/SecurityConfig.java‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception{
3131
protected void configure(HttpSecurity http) throws Exception {
3232
http
3333
.authorizeRequests()
34-
.anyRequest().authenticated()
34+
.anyRequest().authenticated()
3535
.and()
36-
.httpBasic().and()
37-
.csrf().disable();
36+
.httpBasic()
37+
.and()
38+
.csrf().disable();
3839
}
3940
}

0 commit comments

Comments
 (0)