Class AssistedChannelsAuthenticationJwtImpl

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
es.kukenan.smartfi.common.service.jwt.WalletAuthenticationJwtImpl
es.kukenan.smartfi.microservice.clients.controller.security.auth.AssistedChannelsAuthenticationJwtImpl
All Implemented Interfaces:
es.kukenan.smartfi.common.security.WalletAuthentication, Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class AssistedChannelsAuthenticationJwtImpl extends es.kukenan.smartfi.common.service.jwt.WalletAuthenticationJwtImpl
Assisted channels specific authentication implementation. We need this because an operator (agent, supervisor) can be assigned to multiple companies.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final List<es.kukenan.smartfi.common.service.jwt.enums.EntityBankEnum>
    Operator company list.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssistedChannelsAuthenticationJwtImpl(es.kukenan.smartfi.common.service.jwt.JwtBearerToken jwt, List<es.kukenan.smartfi.common.service.jwt.enums.EntityBankEnum> companies)
    Constructor.
  • Method Summary

    Methods inherited from class es.kukenan.smartfi.common.service.jwt.WalletAuthenticationJwtImpl

    getAccessRole, getCompanyId, getCompanyIdentifier, getCredentials, getCustomerId, getJwt, getPrincipal, getSecurityLevel, getUsername

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.security.core.Authentication

    getAuthorities, getDetails, isAuthenticated, setAuthenticated

    Methods inherited from interface java.security.Principal

    equals, getName, hashCode, implies, toString
  • Field Details

    • companies

      final List<es.kukenan.smartfi.common.service.jwt.enums.EntityBankEnum> companies
      Operator company list.
  • Constructor Details

    • AssistedChannelsAuthenticationJwtImpl

      public AssistedChannelsAuthenticationJwtImpl(es.kukenan.smartfi.common.service.jwt.JwtBearerToken jwt, List<es.kukenan.smartfi.common.service.jwt.enums.EntityBankEnum> companies)
      Constructor.
      Parameters:
      jwt - authentication token description.
      companies - Operator company list.