Enum Class AccessRoleEnum

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

public enum AccessRoleEnum extends Enum<AccessRoleEnum>
Enum class for access role definition.
  • Enum Constant Details

    • USER

      public static final AccessRoleEnum USER
      Access role for a user.
    • SUPERVISOR

      public static final AccessRoleEnum SUPERVISOR
      Access role for a supervisor.
    • AGENT

      public static final AccessRoleEnum AGENT
      Access role for an agent.
    • DEVOPS

      public static final AccessRoleEnum DEVOPS
      Access role for devops.
    • MICROSERVICE

      public static final AccessRoleEnum MICROSERVICE
      Access role for other microservices.
    • ADMIN

      public static final AccessRoleEnum ADMIN
      Access role for PuntoPrestamo backoffice administrator.
    • CONSULTANT

      public static final AccessRoleEnum CONSULTANT
      Access role for an Asesor/Promotor.
    • COMPANY

      public static final AccessRoleEnum COMPANY
      Access role for an Empresa.
    • MODERATOR

      public static final AccessRoleEnum MODERATOR
      Access role for PuntoPrestamo backoffice user.
  • Constructor Details

    • AccessRoleEnum

      private AccessRoleEnum()
  • Method Details

    • values

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