spring · spring/AuthenticationException
AuthenticationException
AuthenticationException
Base exception for Spring Security authentication failures. Subclasses include BadCredentialsException, DisabledException, LockedException, and AccountExpiredException. By default produces an HTTP 401 Unauthorized response handled by AuthenticationEntryPoint.