Class PasswordExpiredException
- 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
-
- org.identityconnectors.framework.common.exceptions.PasswordExpiredException
-
- All Implemented Interfaces:
Serializable
public class PasswordExpiredException extends InvalidPasswordException
PasswordExpiredException signals that a user password has expired.This exception is thrown by Connector when they determine that a password has expired. For example, a
Connector
, after successfully authenticating a user, may determine that the user's password has expired. In this case theConnector
throws this exception to notify the application. The application can then take the appropriate steps to notify the user.- See Also:
CredentialExpiredException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PasswordExpiredException()
PasswordExpiredException(String message)
PasswordExpiredException(String message, Throwable ex)
PasswordExpiredException(Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uid
getUid()
PasswordExpiredException
initUid(Uid uid)
Sets the Uid.-
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
-
PasswordExpiredException
public PasswordExpiredException()
- See Also:
ConnectorException()
-
PasswordExpiredException
public PasswordExpiredException(String message)
- See Also:
ConnectorException(String)
-
PasswordExpiredException
public PasswordExpiredException(Throwable ex)
- See Also:
ConnectorException(Throwable)
-
PasswordExpiredException
public PasswordExpiredException(String message, Throwable ex)
- See Also:
ConnectorException(String, Throwable)
-
-
Method Detail
-
getUid
public Uid getUid()
-
initUid
public PasswordExpiredException initUid(Uid uid)
Sets the Uid. Connectors who throw this exception from theirAuthenticationApiOp
should set the account Uid if available.- Parameters:
uid
- The uid.- Returns:
- A reference to this.
-
-