org.acegisecurity
public class InsufficientAuthenticationException extends AuthenticationException
{AccessDecisionVoter
s 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(java.lang.String msg)
Constructs an
InsufficientAuthenticationException with the
specified message. |
InsufficientAuthenticationException(java.lang.String msg,
java.lang.Throwable t)
Constructs an
InsufficientAuthenticationException with the
specified message and root cause. |
getAuthentication, getExtraInformation
contains, getMessage, getMostSpecificCause, getRootCause
public InsufficientAuthenticationException(java.lang.String msg)
InsufficientAuthenticationException
with the
specified message.msg
- the detail messagepublic InsufficientAuthenticationException(java.lang.String msg, java.lang.Throwable t)
InsufficientAuthenticationException
with the
specified message and root cause.msg
- the detail messaget
- root causeCopyright © 2004-2014 Interface21, Inc. All Rights Reserved.