Package org.ametys.web.usermanagement
Enum Class UserManagementException.StatusError
java.lang.Object
java.lang.Enum<UserManagementException.StatusError>
org.ametys.web.usermanagement.UserManagementException.StatusError
- All Implemented Interfaces:
Serializable
,Comparable<UserManagementException.StatusError>
,java.lang.constant.Constable
- Enclosing class:
- UserManagementException
public static enum UserManagementException.StatusError
extends Enum<UserManagementException.StatusError>
Enumeration for user management exception error cause
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionError when a request to database failedError when user has no emailProvided email is not validError user inputs are invalidError when failed to send emailError when no change password page is definedError when no signup page is definedError when user is not connectedError when information provided match several usersError when id of population provided does not match any user populationError when public signup is not allowedError when signup is not allowedError when temporary user already existsError when the token is no more validError when the token provided by user does not existsError when the token provided by user (to reset its password for example) does not existsError when the signup request can not be removed or resendError when the user directory is unmodifiableError when user already existsWhen the user is not allowedError when login or email provided does not match any user -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static UserManagementException.StatusError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIGNUP_NOT_ALLOWED
Error when signup is not allowed -
PUBLIC_SIGNUP_NOT_ALLOWED
Error when public signup is not allowed -
NO_SIGNUP_PAGE
Error when no signup page is defined -
NO_PASSWORD_CHANGE_PAGE
Error when no change password page is defined -
INVALID_EMAIL
Provided email is not valid -
MAIL_ERROR
Error when failed to send email -
USER_ALREADY_EXISTS
Error when user already exists -
TEMP_USER_ALREADY_EXISTS
Error when temporary user already exists -
TOKEN_UNKNOWN
Error when the token provided by user does not exists -
TOKEN_EXPIRED
Error when the token is no more valid -
UNKNOWN_EMAIL
Error when the token provided by user (to reset its password for example) does not exists -
USER_UNKNOWN
Error when login or email provided does not match any user -
POPULATION_UNKNOWN
Error when id of population provided does not match any user population -
NOT_UNIQUE_USER
Error when information provided match several users -
EMPTY_EMAIL
Error when user has no email -
NOT_CONNECTED
Error when user is not connected -
DATABASE_ERROR
Error when a request to database failed -
INVALID_MODIFICATION
Error user inputs are invalid -
UNMODIFIABLE_USER_DIRECTORY
Error when the user directory is unmodifiable -
UNMODIFIABLE_SIGNUP_REQUEST
Error when the signup request can not be removed or resend -
USER_NOT_ALLOWED
When the user is not allowed
-
-
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
-