Package org.ametys.web.usermanagement
Enum UserSignupManager.LostPasswordError
- java.lang.Object
-
- java.lang.Enum<UserSignupManager.LostPasswordError>
-
- org.ametys.web.usermanagement.UserSignupManager.LostPasswordError
-
- All Implemented Interfaces:
Serializable
,Comparable<UserSignupManager.LostPasswordError>
- Enclosing class:
- UserSignupManager
public static enum UserSignupManager.LostPasswordError extends Enum<UserSignupManager.LostPasswordError>
Enumeration for different cases of lost password errors
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY_EMAIL
Lost password return code: the user provided have an empty emailNOT_CONNECTED
User not connectedPOPULATION_UNKNOWN
Lost password return code: the population the user provided doesn't correspond to a user.SEVERAL_USERS
Lost password return code: the informations the user provided match several usersTOKEN_EXPIRED
Token return code: a user provided a token, but it isn't valid anymore.TOKEN_UNKNOWN
Token return code: a user provided a token, but it doesn't exist.UNMODIFIABLE_USER_DIRECTORY
Lost password return code: the user provided belongs to an unmodifiable user directoryUSER_UNKNOWN
Lost password return code: the login or e-mail the user provided doesn't correspond to a population.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserSignupManager.LostPasswordError
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserSignupManager.LostPasswordError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_CONNECTED
public static final UserSignupManager.LostPasswordError NOT_CONNECTED
User not connected
-
USER_UNKNOWN
public static final UserSignupManager.LostPasswordError USER_UNKNOWN
Lost password return code: the login or e-mail the user provided doesn't correspond to a population.
-
POPULATION_UNKNOWN
public static final UserSignupManager.LostPasswordError POPULATION_UNKNOWN
Lost password return code: the population the user provided doesn't correspond to a user.
-
UNMODIFIABLE_USER_DIRECTORY
public static final UserSignupManager.LostPasswordError UNMODIFIABLE_USER_DIRECTORY
Lost password return code: the user provided belongs to an unmodifiable user directory
-
EMPTY_EMAIL
public static final UserSignupManager.LostPasswordError EMPTY_EMAIL
Lost password return code: the user provided have an empty email
-
SEVERAL_USERS
public static final UserSignupManager.LostPasswordError SEVERAL_USERS
Lost password return code: the informations the user provided match several users
-
TOKEN_UNKNOWN
public static final UserSignupManager.LostPasswordError TOKEN_UNKNOWN
Token return code: a user provided a token, but it doesn't exist.
-
TOKEN_EXPIRED
public static final UserSignupManager.LostPasswordError TOKEN_EXPIRED
Token return code: a user provided a token, but it isn't valid anymore.
-
-
Method Detail
-
values
public static UserSignupManager.LostPasswordError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserSignupManager.LostPasswordError c : UserSignupManager.LostPasswordError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserSignupManager.LostPasswordError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-