public class InsufficientAuthenticationException extends AuthenticationException
{AccessDecisionVoters will typically throw this exception if they are dissatisfied with the
level of the authentication, such as if performed using a remember-me mechanism or anonymously. The commonly used
ExceptionTranslationFilter will thus cause the AuthenticationEntryPoint
to be called, allowing the principal to authenticate with a stronger level of authentication.}
| Constructor and Description |
|---|
InsufficientAuthenticationException(String msg)
Constructs an
InsufficientAuthenticationException with the
specified message. |
InsufficientAuthenticationException(String msg,
Throwable t)
Constructs an
InsufficientAuthenticationException with the
specified message and root cause. |
getAuthentication, getExtraInformationcontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InsufficientAuthenticationException(String msg)
InsufficientAuthenticationException with the
specified message.msg - the detail messageCopyright © 2021. All rights reserved.