Enum Class SecurityLevelEnum

java.lang.Object
java.lang.Enum<SecurityLevelEnum>
es.kukenan.smartfi.common.service.jwt.enums.SecurityLevelEnum
All Implemented Interfaces:
Serializable, Comparable<SecurityLevelEnum>, Constable

public enum SecurityLevelEnum extends Enum<SecurityLevelEnum>
Enums defined for users security level.
  • Enum Constant Details

    • ANONYMOUS

      public static final SecurityLevelEnum ANONYMOUS
      Security level for anonymous level.
    • USER_RESTRICTED

      public static final SecurityLevelEnum USER_RESTRICTED
      Security level for logged users that are restricted to change password, all other operations should fail.
    • USER_PWD

      public static final SecurityLevelEnum USER_PWD
      Security level for users with username and password.
    • USER_SCA

      public static final SecurityLevelEnum USER_SCA
      Security level for users with approved SCA.
    • USER_CONSULTANT

      public static final SecurityLevelEnum USER_CONSULTANT
      Security level for PuntoPrestamo consultant users (Asesor/Promotor).
    • USER_MODERATOR

      public static final SecurityLevelEnum USER_MODERATOR
      Security level for PuntoPrestamo backoffice users.
    • BACKOFFICE_ADMIN

      public static final SecurityLevelEnum BACKOFFICE_ADMIN
      Security level for PuntoPrestamo backoffice administrator.
    • USER_COMPANY

      public static final SecurityLevelEnum USER_COMPANY
      Security level for PuntoPrestamo company users.
  • Field Details

    • value

      private final int value
      Security level value.
  • Constructor Details

    • SecurityLevelEnum

      private SecurityLevelEnum()
  • Method Details

    • values

      public static SecurityLevelEnum[] 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

      public static SecurityLevelEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null