Class 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 Detail

      • AuthenticationException

        public AuthenticationException​(String msg)
      • AuthenticationException

        public AuthenticationException​(String msg,
                                       Object[] args)
      • AuthenticationException

        public AuthenticationException​(String msg,
                                       Throwable cause)
      • AuthenticationException

        public AuthenticationException​(String msg,
                                       Object[] args,
                                       Throwable cause)
      • AuthenticationException

        public AuthenticationException​(String msg,
                                       AuthenticationDiagnostic diagnostic)
        Authentication Exception
        Parameters:
        msg - human readable message
        diagnostic - diagnostic information about how the authentication succeeded/failed
      • AuthenticationException

        public AuthenticationException​(String msg,
                                       Object[] args,
                                       AuthenticationDiagnostic diagnostic)
        Authentication Exception
        Parameters:
        msg - human readable message
        diagnostic - 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 message
        diagnostic - diagnostic information about how the authentication succeeded/failed
        cause - stack trace of the exception
      • AuthenticationException

        public AuthenticationException​(String msg,
                                       AuthenticationDiagnostic diagnostic,
                                       Object[] args,
                                       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