Class UserEventService
java.lang.Object
es.kukenan.smartfi.microservice.clients.service.events.UserEventService
Service for handler user devices events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate UserModuleErrorServiceUser module error service.private UserServiceUser services. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleUserCreationErrorEvent(es.kukenan.smartfi.microservice.clients.events.created.UserCreationErrorEvent event) Method to handle a user creation error event.voidhandleUserDeviceScaUpdatedEvent(es.kukenan.smartfi.microservice.security.gateway.events.sca.UserDeviceScaUpdatedEvent userDeviceScaUpdatedEvent) Method for handle event for SCA update Date.
-
Field Details
-
userService
User services. -
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.
-