mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 02:09:06 +00:00
Polish
This commit is contained in:
+2
-1
@@ -12,6 +12,7 @@ public class AuthenticationConfiguration extends GlobalAuthenticationConfigurerA
|
||||
|
||||
@Override
|
||||
public void init(AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth.inMemoryAuthentication().withUser("greg").password("turnquist").roles("read");
|
||||
auth.inMemoryAuthentication().withUser("greg").password("turnquist")
|
||||
.roles("read");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user