Class WeakPasswordException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ametys.core.user.directory.WeakPasswordException
All Implemented Interfaces:
Serializable

public class WeakPasswordException extends Exception
Exception when user is authenticated with a weak password
See Also:
  • Constructor Details

    • WeakPasswordException

      public WeakPasswordException(UserIdentity userIdentity)
      Default constructor.
      Parameters:
      userIdentity - The user identity with a weak password.
    • WeakPasswordException

      public WeakPasswordException(UserIdentity userIdentity, Exception cause)
      Constructor with a cause.
      Parameters:
      userIdentity - The user identity with a weak password.
      cause - The cause.
    • WeakPasswordException

      public WeakPasswordException(UserIdentity userIdentity, String message, Exception cause)
      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