Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Autowired
- public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
- auth.inMemoryAuthentication().withUser("testUser").password("testPassword").roles("ROLE_TEST");
- }
- org.springframework.security.authentication.BadCredentialsException: Bad credentials
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement