anchor.diff:  	@Bean
   	public UserDetailsService userDetailsService() throws Exception {
   		InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
  -		manager.createUser(User.withUsername("user").password("password").roles("USER").build());
  +		manager.createUser(User.withDefaultPasswordEncoder().username("user").password("password").roles("USER").build());
   		return manager;
   	}
   }
  
positive.code: <authentication-provider>
  	<password-encoder ref="bcryptEncoder"/>
  	<user-service>
  	<user name="jimi" password="d7e6351eaa13189a5a3641bab846c8e8c69ba39f"
  			authorities="ROLE_USER, ROLE_ADMIN" />
  	<user name="bob" password="4e7421b1b8765d8f9406d87e7cc6aa784c4ab97f"
  			authorities="ROLE_USER" />
  	</user-service>
  </authentication-provider>
  
negative.code: 
  @Autowired
  public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
  	// ensure the passwords are encoded properly
  	UserBuilder users = User.withDefaultPasswordEncoder();
  	auth
  		.jdbcAuthentication()
  			.dataSource(dataSource)
  			.withDefaultSchema()
  			.withUser(users.username("user").password("password").roles("USER"))
  			.withUser(users.username("admin").password("password").roles("USER","ADMIN"));
  }
  ----
  
  