Skip to content

Commit fb06c3f

Browse files
author
eugenp
committed
minor formatting work
1 parent b8f1f23 commit fb06c3f

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎spring-security-oauth/spring-security-oauth-server/src/main/java/org/baeldung/config/WebSecurityConfig.java‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@
1111
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
1212

1313
@Override
14-
protected void configure(final AuthenticationManagerBuilder auth) throws Exception {
15-
auth.inMemoryAuthentication().withUser("john").password("123").roles("USER").and().withUser("tom").password("111").roles("ADMIN");
16-
}
14+
protected void configure(final AuthenticationManagerBuilder auth) throws Exception {// @formatter:off
15+
auth.inMemoryAuthentication().
16+
withUser("john").password("123").roles("USER").
17+
and().
18+
withUser("tom").password("111").roles("ADMIN");
19+
}// @formatter:on
1720

1821
@Override
1922
@Bean

0 commit comments

Comments
 (0)