Class JwtBearerToken
java.lang.Object
es.kukenan.smartfi.common.service.jwt.JwtBearerToken
- All Implemented Interfaces:
Serializable
This class is designed to hold all the information present at the JWT.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AccessRoleEnumThe access role of the user.private ChannelEnumThe channel which is using the customer.private EntityBankEnumThe identifier of the entity bank.private IntegerThe identifier of the Company on DB.private StringThe identifier of the customer.private StringThe identifier of the device.private ZonedDateTimeToken expiration date.private StringToken id.private SecurityLevelEnumThe security level of the user.private static final longserialVersionUID.private StringThe name of the user this token was created for.private StringThe username of the user. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID.- See Also:
-
id
Token id. -
expiration
Token expiration date. -
subject
The name of the user this token was created for. -
userId
The username of the user. -
securityLevel
The security level of the user. Could be: 0 anonymous 1 user_pwd 2 SCA -
accessRole
The access role of the user. Could be: private_user public_user manager_user -
companyId
The identifier of the entity bank. Could be: BC BF -
customerId
The identifier of the customer. -
channel
The channel which is using the customer. Coulb be: CONTACT_CENTRE BRANCH WEB MOBILE PRESCRIPTION TPPS -
deviceId
The identifier of the device. -
companyIdentifier
The identifier of the Company on DB.
-
-
Constructor Details
-
JwtBearerToken
public JwtBearerToken()
-