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 -
Constructor Summary
ConstructorsConstructorDescriptionAssistedChannelsAuthenticationJwtImpl(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, getUsernameMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.security.core.Authentication
getAuthorities, getDetails, isAuthenticated, setAuthenticated
-
Field Details
-
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.
-