Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.alfresco.error.AlfrescoRuntimeException
-
- org.alfresco.repo.security.authentication.AuthenticationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TicketExpiredException
@AlfrescoPublicApi public class AuthenticationException extends org.alfresco.error.AlfrescoRuntimeException
Alfresco Authentication Exception and wrapper- Author:
- andyh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException(String msg)
AuthenticationException(String msg, Object[] args)
AuthenticationException(String msg, Object[] args, Throwable cause)
AuthenticationException(String msg, Object[] args, AuthenticationDiagnostic diagnostic)
Authentication ExceptionAuthenticationException(String msg, Throwable cause)
AuthenticationException(String msg, AuthenticationDiagnostic diagnostic)
Authentication ExceptionAuthenticationException(String msg, AuthenticationDiagnostic diagnostic, Object[] args, Throwable cause)
Authentication ExceptionAuthenticationException(String msg, AuthenticationDiagnostic diagnostic, Throwable cause)
Authentication Exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationDiagnostic
getDiagnostic()
Get the authentication diagnostic-
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(String msg)
-
AuthenticationException
public AuthenticationException(String msg, AuthenticationDiagnostic diagnostic)
Authentication Exception- Parameters:
msg
- human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failed
-
AuthenticationException
public AuthenticationException(String msg, Object[] args, AuthenticationDiagnostic diagnostic)
Authentication Exception- Parameters:
msg
- human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failed
-
AuthenticationException
public AuthenticationException(String msg, AuthenticationDiagnostic diagnostic, Throwable cause)
Authentication Exception- Parameters:
msg
- key for human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failedcause
- stack trace of the exception
-
AuthenticationException
public AuthenticationException(String msg, AuthenticationDiagnostic diagnostic, Object[] args, Throwable cause)
Authentication Exception- Parameters:
msg
- key for human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failedargs
- arguments for human readable messagecause
- stack trace of the exception
-
-
Method Detail
-
getDiagnostic
public AuthenticationDiagnostic getDiagnostic()
Get the authentication diagnostic- Returns:
- the authentication diagnostic
-
-