java.lang.Object
es.kukenan.smartfi.microservice.clients.service.events.UserEventService

@Service public class UserEventService extends Object
Service for handler user devices events.
  • Field Details

    • userService

      @Autowired private UserService userService
      User services.
    • userModuleErrorService

      @Autowired private UserModuleErrorService userModuleErrorService
      User module error service.
  • Constructor Details

    • UserEventService

      public UserEventService()
  • Method Details

    • handleUserDeviceScaUpdatedEvent

      public void handleUserDeviceScaUpdatedEvent(es.kukenan.smartfi.microservice.security.gateway.events.sca.UserDeviceScaUpdatedEvent userDeviceScaUpdatedEvent)
      Method for handle event for SCA update Date.
      Parameters:
      userDeviceScaUpdatedEvent - UserDevice update SCA date event.
    • handleUserCreationErrorEvent

      public void handleUserCreationErrorEvent(es.kukenan.smartfi.microservice.clients.events.created.UserCreationErrorEvent event)
      Method to handle a user creation error event. The error registration is delegated to userModuleErrorService (note that error level is calculated in the service too).
      Parameters:
      event - User creation error event.