Package org.ametys.web.usermanagement
Enum Class UserSignupManager.LostPasswordError
java.lang.Object
java.lang.Enum<UserSignupManager.LostPasswordError>
org.ametys.web.usermanagement.UserSignupManager.LostPasswordError
- All Implemented Interfaces:
Serializable
,Comparable<UserSignupManager.LostPasswordError>
,java.lang.constant.Constable
- Enclosing class:
- UserSignupManager
public static enum UserSignupManager.LostPasswordError
extends Enum<UserSignupManager.LostPasswordError>
Enumeration for different cases of lost password errors
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLost password return code: the user provided have an empty emailUser not connectedLost password return code: the population the user provided doesn't correspond to a user.Lost password return code: the informations the user provided match several usersToken return code: a user provided a token, but it isn't valid anymore.Token return code: a user provided a token, but it doesn't exist.Lost password return code: the user provided belongs to an unmodifiable user directoryLost password return code: the login or e-mail the user provided doesn't correspond to a population. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static UserSignupManager.LostPasswordError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_CONNECTED
User not connected -
USER_UNKNOWN
Lost password return code: the login or e-mail the user provided doesn't correspond to a population. -
POPULATION_UNKNOWN
Lost password return code: the population the user provided doesn't correspond to a user. -
UNMODIFIABLE_USER_DIRECTORY
Lost password return code: the user provided belongs to an unmodifiable user directory -
EMPTY_EMAIL
Lost password return code: the user provided have an empty email -
SEVERAL_USERS
Lost password return code: the informations the user provided match several users -
TOKEN_UNKNOWN
Token return code: a user provided a token, but it doesn't exist. -
TOKEN_EXPIRED
Token return code: a user provided a token, but it isn't valid anymore.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-