Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.backend.security.AuthenticationException
- Direct Known Subclasses:
AccountStatusException, AuthenticationServiceException, BadCredentialsException, InsufficientAuthenticationException, OAuth2AuthenticationException, ProviderNotFoundException, UsernameNotFoundException, WebAuthnException
The request could not be authenticated. Thrown anywhere under a
SecurityFilterChain -- a filter, a controller, a service -- it is answered
by the chain's AuthenticationEntryPoint: a 401 carrying a challenge, or a
redirect to the login page.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthenticationException(String message) protectedAuthenticationException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
-
AuthenticationException
-