Class JwtBearerToken

java.lang.Object
es.kukenan.smartfi.common.service.jwt.JwtBearerToken
All Implemented Interfaces:
Serializable

public class JwtBearerToken extends Object implements Serializable
This class is designed to hold all the information present at the JWT.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      serialVersionUID.
      See Also:
    • id

      private String id
      Token id.
    • expiration

      private ZonedDateTime expiration
      Token expiration date.
    • subject

      private String subject
      The name of the user this token was created for.
    • userId

      private String userId
      The username of the user.
    • securityLevel

      private SecurityLevelEnum securityLevel
      The security level of the user. Could be: 0 anonymous 1 user_pwd 2 SCA
    • accessRole

      private AccessRoleEnum accessRole
      The access role of the user. Could be: private_user public_user manager_user
    • companyId

      private EntityBankEnum companyId
      The identifier of the entity bank. Could be: BC BF
    • customerId

      private String customerId
      The identifier of the customer.
    • channel

      private ChannelEnum channel
      The channel which is using the customer. Coulb be: CONTACT_CENTRE BRANCH WEB MOBILE PRESCRIPTION TPPS
    • deviceId

      private String deviceId
      The identifier of the device.
    • companyIdentifier

      private Integer companyIdentifier
      The identifier of the Company on DB.
  • Constructor Details

    • JwtBearerToken

      public JwtBearerToken()