Uses of Class
es.kukenan.smartfi.microservice.clients.repository.entity.User
Packages that use User
Package
Description
Services and related beans and dependencies.
Services and related beans and dependencies.
Services and related beans and dependencies.
Services and related beans and dependencies.
Login service package.
Services and related beans and dependencies.
Mapper classes used by service beans.
Services and related beans and dependencies.
-
Uses of User in es.kukenan.smartfi.microservice.clients.repository
Methods in es.kukenan.smartfi.microservice.clients.repository that return UserModifier and TypeMethodDescriptionUserRepository.findByUserIdAndDeviceId(String userId, String deviceId) query for filter user and remember me token.UserRepository.findOneByBiometricTokenAndCompanyId(String biometricToken, String companyId, String deviceId) query for filter user and remember me token.UserRepository.findOneByBiometricTokenAndDeviceId(String biometricToken, String deviceId) query for filter user and remember me token.UserRepository.findOneByDocumentIdAndCompanyId(String documentId, String companyId) Get user is in BBDD.UserRepository.findOneByEmailAndCompanyId(String email, String companyId) Get user is in BBDD.UserRepository.findOneById(String userId) Get user is in BBDD.UserRepository.findOneByRememberTokenAndCompanyId(String rememberToken, String companyId, String deviceId) query for filter user and remember me token.UserRepository.findRememberTokenByUserIdAndDeviceId(String userId, String deviceId) query for filter user and remember me token.Methods in es.kukenan.smartfi.microservice.clients.repository that return types with arguments of type UserModifier and TypeMethodDescriptionUserRepository.findByEmail(String email) Get user is in BBDD.UserRepository.findOneByIdAndCompanyId(String id, String companyId) Find an user in DB by its id and company. -
Uses of User in es.kukenan.smartfi.microservice.clients.repository.entity
Fields in es.kukenan.smartfi.microservice.clients.repository.entity declared as UserModifier and TypeFieldDescriptionprivate UserDeviceLoginHistoric.useruser associated to the device identifier.private UserUserBackoffice.useruser associated to the backoffice identifier.private UserUserBackoffice.UserBackofficeId.useruser Id.private UserUserDevice.useruser associated to the device identifier.private UserUserDocument.useruser identifier. -
Uses of User in es.kukenan.smartfi.microservice.clients.service
Methods in es.kukenan.smartfi.microservice.clients.service that return UserModifier and TypeMethodDescriptionServiceUtilities.checkTemporaryLocks(User user, boolean checkPassword, AccessManagementService accessManagementService) Check access management for user.UserService.createUser(User user, UserManagementOperationContext context) Create the given user, that must previously exist.Find a user by its user identifier.private UserUserModuleErrorService.loadUser(UserModuleError error) Get the user affected by this error (must exist).Methods in es.kukenan.smartfi.microservice.clients.service with parameters of type UserModifier and TypeMethodDescriptionvoidAccessManagementService.checkAccessManagement(User user) Method to check access management for blocked user and blocked temporally.private voidAccessManagementService.checkAccessManagement(User user, HashMap<String, String> unlockingRetries) Method to check access management for blocked user and blocked temporally.private voidAccessManagementService.checkStatusUser(User user, Map<String, String> unlockingRetries, String blockedUserRetries) This method thrown pre-temporally blocked message and temporally blocked message for users.ServiceUtilities.checkTemporaryLocks(User user, boolean checkPassword, AccessManagementService accessManagementService) Check access management for user.private booleanAccessManagementService.checkUnlockingTime(User user, Map<String, String> unlockingRetries, int actualLoginErrorCount) Check if unlocking time is passed to free temporary locked of user.UserService.createUser(User user, UserManagementOperationContext context) Create the given user, that must previously exist.private voidUserModuleErrorService.disableUser(User user) Disable the given user.es.kukenan.smartfi.common.service.jwt.JwtBearerTokenServiceUtilities.generateJwt(User user, es.kukenan.smartfi.common.service.jwt.enums.SecurityLevelEnum securityLevelEnum, es.kukenan.smartfi.common.service.jwt.enums.ChannelEnum channel, String deviceId) Generate a JWT Token well signed with data about user found.es.kukenan.smartfi.microservice.clients.dto.LoginResponseDtoServiceUtilities.getRequiredOtpValue(User user, es.kukenan.smartfi.microservice.clients.dto.LoginDto loginDto, es.kukenan.smartfi.microservice.clients.dto.LoginResponseDto loginResponseDto) Generated value if otp is required in login process.AccessManagementService.getUserStatus(User user) Override method for get user status with user found in database.private UserStatusAccessManagementService.getUserStatus(User user, Map<String, String> unlockingRetries, String blockedUserRetries, int actualLoginErrorCount) Get user status from User data for access management.voidUpdate the persisted data of the given user.private voidUserService.publishPasswordChange(User user) Publish a password change event for the specified user.voidUserService.publishPasswordReset(User user, String password, String userIp, String userAgent) Publish a password reset event for the specified user.(package private) voidAccessManagementService.updateCountLoginDataUser(User user, int actualLoginErrorCount) Update Count login error and last login error date to check user blocks.voidServiceUtilities.updateRemoveCountLoginUser(User user, UserRepository userRepository) Update count login error when user login successfully. -
Uses of User in es.kukenan.smartfi.microservice.clients.service.events.backoffice
Methods in es.kukenan.smartfi.microservice.clients.service.events.backoffice that return UserModifier and TypeMethodDescriptionprivate UserBackofficeMonitorUserCreatedService.gettingUserFromEventData(es.kukenan.smartfi.microservice.backoffice.events.common.BackofficeMonitorEventBody person, int typeDoc, String docNumber, Backoffice backoffice, String version, User existingUser) Save data in user table.private UserBackofficeMonitorUserUpdatedService.gettingUserFromEventData(es.kukenan.smartfi.microservice.backoffice.events.update.BackofficeMonitorEventUpdateBody person, int typeDoc, String docNumber, Optional<Backoffice> backoffice, String version, User existingUser) Save data in user table.Methods in es.kukenan.smartfi.microservice.clients.service.events.backoffice with parameters of type UserModifier and TypeMethodDescriptionprivate UserStateBackofficeMonitorUserCreatedService.calculateUserState(es.kukenan.smartfi.microservice.backoffice.events.common.BackofficeMonitorEventBody person, User existingUser) private UserStateBackofficeMonitorUserUpdatedService.calculateUserState(es.kukenan.smartfi.microservice.backoffice.events.update.BackofficeMonitorEventUpdateBody person, User existingUser) private voidBackofficeMonitorUserUpdatedService.calculateUserStateV2(es.kukenan.smartfi.microservice.backoffice.events.update.BackofficeMonitorEventUpdateBody person, User existingUser, User userResponse) private voidBackofficeMonitorUserCreatedService.createUser(User user, UserManagementOperationContext operationContext) Save data in user table, send event.private UserBackofficeMonitorUserCreatedService.gettingUserFromEventData(es.kukenan.smartfi.microservice.backoffice.events.common.BackofficeMonitorEventBody person, int typeDoc, String docNumber, Backoffice backoffice, String version, User existingUser) Save data in user table.private UserBackofficeMonitorUserUpdatedService.gettingUserFromEventData(es.kukenan.smartfi.microservice.backoffice.events.update.BackofficeMonitorEventUpdateBody person, int typeDoc, String docNumber, Optional<Backoffice> backoffice, String version, User existingUser) Save data in user table.private voidBackofficeMonitorUserCreatedService.updateUser(User user, es.kukenan.smartfi.microservice.backoffice.events.common.BackofficeMonitorEventBody person, int typeDoc, String docNumber, Backoffice backoffice, String version) update data in user table.private voidBackofficeMonitorUserUpdatedService.updateUserInformation(es.kukenan.smartfi.microservice.backoffice.events.update.BackofficeMonitorEventUpdateBody person, int typeDoc, String docNumber, User userRetrieved, String version) Save data in user table. -
Uses of User in es.kukenan.smartfi.microservice.clients.service.login
Methods in es.kukenan.smartfi.microservice.clients.service.login that return UserModifier and TypeMethodDescriptionprotected UserLoginBasicService.findUserInDb(es.kukenan.smartfi.microservice.clients.dto.LoginBasicDto loginDto) protected UserLoginBiometricService.findUserInDb(es.kukenan.smartfi.microservice.clients.dto.LoginBiometricDto loginDto) protected UserLoginRememberService.findUserInDb(es.kukenan.smartfi.microservice.clients.dto.LoginRememberDto loginDto) protected UserLoginBiometricService.handleTemporaryLocks(User user, boolean credentialsOk) Methods in es.kukenan.smartfi.microservice.clients.service.login with parameters of type UserModifier and TypeMethodDescriptionprotected booleanLoginBasicService.checkCredentials(es.kukenan.smartfi.microservice.clients.dto.LoginBasicDto loginDto, User user) protected booleanLoginBiometricService.checkCredentials(es.kukenan.smartfi.microservice.clients.dto.LoginBiometricDto loginDto, User user) protected booleanLoginRememberService.checkCredentials(es.kukenan.smartfi.microservice.clients.dto.LoginRememberDto loginDto, User user) private voidAlreadyAuthenticatedLoginService.checkLoginRequest(es.kukenan.smartfi.microservice.clients.dto.LoginRequestDto loginRequest, User user) Check if there is no conflict between the login request and the authenticated user.es.kukenan.smartfi.microservice.clients.dto.LoginResponseDtoLoginBasicService.createLoginResponse(es.kukenan.smartfi.microservice.clients.dto.LoginBasicDto loginBasicDto, User user) Method to check if pair values username and password are at database.es.kukenan.smartfi.microservice.clients.dto.LoginResponseDtoLoginBiometricService.createLoginResponse(es.kukenan.smartfi.microservice.clients.dto.LoginBiometricDto loginDto, User user) Login with biometric.protected es.kukenan.smartfi.microservice.clients.dto.LoginResponseDtoLoginRememberService.createLoginResponse(es.kukenan.smartfi.microservice.clients.dto.LoginRememberDto loginRememberDto, User user) Method to check if pair values username and password are at database.protected UserLoginBiometricService.handleTemporaryLocks(User user, boolean credentialsOk) private ZonedDateTimeGet last login date from the given user entity.protected StringLoginBasicService.updateRememberMeToken(es.kukenan.smartfi.microservice.clients.dto.LoginBasicDto loginBasicDto, User user) Method for regenerate rememberToken. -
Uses of User in es.kukenan.smartfi.microservice.clients.service.login.strategy
Methods in es.kukenan.smartfi.microservice.clients.service.login.strategy that return UserModifier and TypeMethodDescriptionprotected abstract UserAbstractLoginService.findUserInDb(T loginDto) Find the user in the database with the given login details.protected UserAbstractLoginService.handleTemporaryLocks(User user, boolean credentialsOk) Handle user temporary locks.Methods in es.kukenan.smartfi.microservice.clients.service.login.strategy with parameters of type UserModifier and TypeMethodDescriptionprotected abstract booleanAbstractLoginService.checkCredentials(T loginDto, User user) Check the given user credentials (found with the given login details).protected es.kukenan.smartfi.microservice.clients.dto.LoginResponseDtoAbstractLoginService.checkSca(User user, es.kukenan.smartfi.microservice.clients.dto.LoginDto loginDto, es.kukenan.smartfi.microservice.clients.dto.LoginResponseDto loginResponseDto) Check user SCA access date.private voidAbstractLoginService.checkUserState(User user) Check the given user state.protected abstract es.kukenan.smartfi.microservice.clients.dto.LoginResponseDtoAbstractLoginService.createLoginResponse(T loginDto, User user) Create specific response for ok login.protected UserAbstractLoginService.handleTemporaryLocks(User user, boolean credentialsOk) Handle user temporary locks.protected ZonedDateTimeGet last login date from the given user entity.protected voidAbstractLoginService.updateErrorAccessCounterToZero(User user) Update to zero count access errors. -
Uses of User in es.kukenan.smartfi.microservice.clients.service.mapper
Methods in es.kukenan.smartfi.microservice.clients.service.mapper with parameters of type UserModifier and TypeMethodDescriptionUserPasswordChangeEventMapper.createPrincipal(User user) Create a principal description for the given user entity.es.kukenan.smartfi.microservice.clients.dto.UserDtoUserEntityMapper.getPersonalData(User user) Map the givenUsers to aUserDtos.es.kukenan.smartfi.microservice.clients.events.created.UserCreatedEventUserCreatedEventMapper.map(User user, UserManagementOperationContext operationContext) Create aUserCreatedEventfor the given user in the given context.es.kukenan.smartfi.microservice.clients.events.pwdchange.UserPasswordChangeEventCreate anUserPasswordChangeEventfrom the given user entity.es.kukenan.smartfi.microservice.clients.events.pwdreset.UserPasswordResetEventCreate anUserPasswordResetEventfrom the given user entity.es.kukenan.smartfi.microservice.clients.events.updated.UserUpdatedEventCreate aUserUpdatedEventfor the given user in the given context.es.kukenan.smartfi.microservice.clients.dto.UserDtoMap the givenUsers to aUserDtos.Method parameters in es.kukenan.smartfi.microservice.clients.service.mapper with type arguments of type User -
Uses of User in es.kukenan.smartfi.microservice.clients.utils
Methods in es.kukenan.smartfi.microservice.clients.utils that return UserMethods in es.kukenan.smartfi.microservice.clients.utils with parameters of type User