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:
java.io.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(java.lang.String msg)
AuthenticationException(java.lang.String msg, java.lang.Object[] args)
AuthenticationException(java.lang.String msg, java.lang.Object[] args, java.lang.Throwable cause)
AuthenticationException(java.lang.String msg, java.lang.Object[] args, AuthenticationDiagnostic diagnostic)
Authentication ExceptionAuthenticationException(java.lang.String msg, java.lang.Throwable cause)
AuthenticationException(java.lang.String msg, AuthenticationDiagnostic diagnostic)
Authentication ExceptionAuthenticationException(java.lang.String msg, AuthenticationDiagnostic diagnostic, java.lang.Object[] args, java.lang.Throwable cause)
Authentication ExceptionAuthenticationException(java.lang.String msg, AuthenticationDiagnostic diagnostic, java.lang.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
-
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(java.lang.String msg)
-
AuthenticationException
public AuthenticationException(java.lang.String msg, java.lang.Object[] args)
-
AuthenticationException
public AuthenticationException(java.lang.String msg, java.lang.Throwable cause)
-
AuthenticationException
public AuthenticationException(java.lang.String msg, java.lang.Object[] args, java.lang.Throwable cause)
-
AuthenticationException
public AuthenticationException(java.lang.String msg, AuthenticationDiagnostic diagnostic)
Authentication Exception- Parameters:
msg
- human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failed
-
AuthenticationException
public AuthenticationException(java.lang.String msg, java.lang.Object[] args, AuthenticationDiagnostic diagnostic)
Authentication Exception- Parameters:
msg
- human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failed
-
AuthenticationException
public AuthenticationException(java.lang.String msg, AuthenticationDiagnostic diagnostic, java.lang.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(java.lang.String msg, AuthenticationDiagnostic diagnostic, java.lang.Object[] args, java.lang.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
-
-