We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
When credentials fail authentication, Spring Security conventionally throws BadCredentialsException.
BadCredentialsException
OneTimeTokenAuthenticationProvider should catch UsernameNotFoundException, wrap it, and rethrow as BadCredentialsException.
OneTimeTokenAuthenticationProvider
UsernameNotFoundException