Class InvalidCredentialException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.identityconnectors.framework.common.exceptions.ConnectorException
-
- org.identityconnectors.framework.common.exceptions.ConnectorSecurityException
-
- org.identityconnectors.framework.common.exceptions.InvalidCredentialException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidPasswordException
,UnknownUidException
public class InvalidCredentialException extends ConnectorSecurityException
InvalidCredentialException signals that user authentication failed. This exception is thrown by Connector if authentication failed. For example, aConnector
throws this exception if the user entered an incorrect password.This exception should be used only when incorrect credential is entered by a user, for example in authenticate() method. It should NOT be used in case that connection to the resource cannot be established because connection credentials are wrong. Use ConnectionFailedException instead.
Note: Since framework version 1.5.0.0 it is recommended to use InvalidAttributeValueException in case that credential change operation failed. Please indicate credential as an affected attribute in the exception.
- See Also:
FailedLoginException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidCredentialException()
InvalidCredentialException(String message)
InvalidCredentialException(String message, Throwable ex)
InvalidCredentialException(Throwable ex)
-
Method Summary
-
Methods inherited from class org.identityconnectors.framework.common.exceptions.ConnectorException
rethrow, wrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidCredentialException
public InvalidCredentialException()
- See Also:
ConnectorException()
-
InvalidCredentialException
public InvalidCredentialException(String message)
- See Also:
ConnectorException(String)
-
InvalidCredentialException
public InvalidCredentialException(Throwable ex)
- See Also:
ConnectorException(Throwable)
-
InvalidCredentialException
public InvalidCredentialException(String message, Throwable ex)
- See Also:
ConnectorException(String, Throwable)
-
-