Class InvalidPasswordException
- 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
-
- org.identityconnectors.framework.common.exceptions.InvalidPasswordException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PasswordExpiredException
public class InvalidPasswordException extends InvalidCredentialException
Thrown when a password credential is invalid.This exception should be used only when incorrect password is entered by a user. It should NOT be used in case that connection to the resource cannot be established because connection password is wrong. Use ConnectionFailedException instead.
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:
CredentialException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidPasswordException()
InvalidPasswordException(String message)
InvalidPasswordException(String message, Throwable ex)
InvalidPasswordException(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
-
InvalidPasswordException
public InvalidPasswordException()
- See Also:
ConnectorException()
-
InvalidPasswordException
public InvalidPasswordException(String message)
- See Also:
ConnectorException(String)
-
InvalidPasswordException
public InvalidPasswordException(Throwable ex)
- See Also:
ConnectorException(Throwable)
-
InvalidPasswordException
public InvalidPasswordException(String message, Throwable ex)
- See Also:
ConnectorException(String, Throwable)
-
-