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:
Wim Deblauwe 2017-03-10 22:30:38 +01:00 committed by Zeger Hendrikse
parent 80b222b7bd
commit fb7b2c798c
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}