Package org.ametys.core.user.directory
Class WeakPasswordException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ametys.core.user.directory.WeakPasswordException
- All Implemented Interfaces:
Serializable
Exception when user is authenticated with a weak password
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWeakPasswordException
(UserIdentity userIdentity) Default constructor.WeakPasswordException
(UserIdentity userIdentity, Exception cause) Constructor with a cause.WeakPasswordException
(UserIdentity userIdentity, String message, Exception cause) Constructor with a message and a cause. -
Method Summary
Modifier and TypeMethodDescriptionGet the user identity concerned by this weak password exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WeakPasswordException
Default constructor.- Parameters:
userIdentity
- The user identity with a weak password.
-
WeakPasswordException
Constructor with a cause.- Parameters:
userIdentity
- The user identity with a weak password.cause
- The cause.
-
WeakPasswordException
Constructor with a message and a cause.- Parameters:
userIdentity
- The user identity with a weak password.message
- The message.cause
- The cause.
-
-
Method Details
-
getUserIdentity
Get the user identity concerned by this weak password exception- Returns:
- the user identity
-