Enum Class SecurityLevelEnum
- All Implemented Interfaces:
Serializable,Comparable<SecurityLevelEnum>,Constable
Enums defined for users security level.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSecurity level for anonymous level.Security level for PuntoPrestamo backoffice administrator.Security level for PuntoPrestamo company users.Security level for PuntoPrestamo consultant users (Asesor/Promotor).Security level for PuntoPrestamo backoffice users.Security level for users with username and password.Security level for logged users that are restricted to change password, all other operations should fail.Security level for users with approved SCA. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityLevelEnumReturns the enum constant of this class with the specified name.static SecurityLevelEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANONYMOUS
Security level for anonymous level. -
USER_RESTRICTED
Security level for logged users that are restricted to change password, all other operations should fail. -
USER_PWD
Security level for users with username and password. -
USER_SCA
Security level for users with approved SCA. -
USER_CONSULTANT
Security level for PuntoPrestamo consultant users (Asesor/Promotor). -
USER_MODERATOR
Security level for PuntoPrestamo backoffice users. -
BACKOFFICE_ADMIN
Security level for PuntoPrestamo backoffice administrator. -
USER_COMPANY
Security level for PuntoPrestamo company users.
-
-
Field Details
-
value
private final int valueSecurity level value.
-
-
Constructor Details
-
SecurityLevelEnum
private SecurityLevelEnum()
-
-
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
-