Class 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 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 message
        diagnostic - 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 message
        diagnostic - 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 message
        diagnostic - diagnostic information about how the authentication succeeded/failed
        cause - 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 message
        diagnostic - diagnostic information about how the authentication succeeded/failed
        args - arguments for human readable message
        cause - stack trace of the exception
    • Method Detail

      • getDiagnostic

        public AuthenticationDiagnostic getDiagnostic()
        Get the authentication diagnostic
        Returns:
        the authentication diagnostic