Feature/bael 75 (#1356)
* BEAL-75 - Spring Boot Audit Support Source code for http://inprogress.baeldung.com/wp-admin/post.php?post=35337&action=edit * BEAL-75 - Spring Boot Audit Support Update to use SLF4J logger instead of System.out.println * BEAL-75 - Spring Boot Audit Support Give the user the 'ACTUATOR' role so the management endpoints can be viewed when logging on as 'user'
This commit is contained in:
parent
80b222b7bd
commit
fb7b2c798c
|
@ -29,6 +29,6 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.inMemoryAuthentication()
|
||||
.withUser("user").password("password").roles("USER");
|
||||
.withUser("user").password("password").roles("USER", "ACTUATOR");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue