Interface WalletAuthentication
- All Superinterfaces:
org.springframework.security.core.Authentication,Principal,Serializable
- All Known Implementing Classes:
WalletAuthenticationJwtImpl
public interface WalletAuthentication
extends org.springframework.security.core.Authentication
Represents the smartfi token for an authentication request or for an authenticated principal.
-
Method Summary
Modifier and TypeMethodDescriptionThe access role of the user.The identifier of the entity bank.The identifier of the company on DB.The identifier of the customer.The security level of the user.The username of the user.Methods inherited from interface org.springframework.security.core.Authentication
getAuthorities, getCredentials, getDetails, getPrincipal, isAuthenticated, setAuthenticated
-
Method Details
-
getUsername
String getUsername()The username of the user.- Returns:
- The username of the user.
-
getSecurityLevel
SecurityLevelEnum getSecurityLevel()The security level of the user. Could be: 0 anonymous 1 user_pwd 2 SCA.- Returns:
- The security level of the user. Could be: 0 anonymous 1 user_pwd 2 SCA.
-
getAccessRole
AccessRoleEnum getAccessRole()The access role of the user. Could be: private_user public_user manager_user.- Returns:
- The access role of the user. Could be: private_user public_user manager_user.
-
getCompanyId
EntityBankEnum getCompanyId()The identifier of the entity bank. Could be: BC BF.- Returns:
- The identifier of the entity bank. Could be: BC BF.
-
getCustomerId
String getCustomerId()The identifier of the customer.- Returns:
- The identifier of the customer.
-
getCompanyIdentifier
Integer getCompanyIdentifier()The identifier of the company on DB.- Returns:
- The identifier of the entity.
-