Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public abstract class AuthenticationException
- Object
- Throwable
- Exception
- RuntimeException
- AuthenticationException
Known subtypesAccountStatusException, AuthenticationServiceException, BadCredentialsException, InsufficientAuthenticationException, ProviderNotFoundException, UsernameNotFoundException, OAuth2AuthenticationException, Saml2AuthenticationException, 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.Constructors
protected AuthenticationException(String message) | |
protected AuthenticationException(String message, Throwable cause) |
Inherited methods
Constructor details
AuthenticationException
protected AuthenticationException(String message)AuthenticationException
protected AuthenticationException(String message, Throwable cause)