Class AuthenticationFailedException

  • All Implemented Interfaces:
    Serializable

    public final class AuthenticationFailedException
    extends SecurityException
    An exception that should be thrown (or otherwise returned to the client for async implementations) by IdentityProvider implementations if the authentication failed.

    This can be used by a mechanism to determine if an authentication failure was due to bad credentials vs some other form of internal failure.

    See Also:
    Serialized Form
    • Constructor Detail

      • AuthenticationFailedException

        public AuthenticationFailedException()
      • AuthenticationFailedException

        public AuthenticationFailedException​(String errorMessage)
      • AuthenticationFailedException

        public AuthenticationFailedException​(Throwable cause)
      • AuthenticationFailedException

        public AuthenticationFailedException​(String errorMessage,
                                             Throwable cause)