I have a REST-full web service implemented with Spring Boot 1.2.0-RELEASE that occasionally throws the following exception on startup.
03-Feb-2015 11:42:23.697 S
Following spring boot documentation you should disable the default security configuration loaded by spring boot by adding annotation @EnableWebMvcSecurity in your app configuration (see 75.2 Change the AuthenticationManager and add user accounts) and than you should configure a web security adapter like this:
@Bean
WebSecurityConfigurerAdapter webSecurityAdapter() {
WebSecurityConfigurerAdapter adapter = new WebSecurityConfigurerAdapter() {
@Override
protected void configure(HttpSecurity http) throws Exception {
http....