Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. @Autowired
  2. public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
  3. auth.inMemoryAuthentication().withUser("testUser").password("testPassword").roles("ROLE_TEST");
  4. }
  5.  
  6. org.springframework.security.authentication.BadCredentialsException: Bad credentials
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement