Class AbstractSecurityGatewayEvent<B extends es.kukenan.smartfi.events.common.AbstractEventBody>
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.security.gateway.events.AbstractSecurityGatewayEvent<B>
- Type Parameters:
B- the event body type.
- All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event
- Direct Known Subclasses:
BackOfficeOnboardingUserUpdatedEvent,OtpGeneratedEvent,UserDeviceScaUpdatedEvent
public abstract class AbstractSecurityGatewayEvent<B extends es.kukenan.smartfi.events.common.AbstractEventBody>
extends es.kukenan.smartfi.events.common.AbstractEvent<B>
Base class of the events generated by the Security gateway micro-service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant value for the context field, unique for smartfi security micro-service context.Fields inherited from class es.kukenan.smartfi.events.common.AbstractEvent
UTC -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSecurityGatewayEvent(String typeId, String version) Minimal constructor.AbstractSecurityGatewayEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body) State constructor.AbstractSecurityGatewayEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body, String userIp, String userAgent) State constructor. -
Method Summary
Methods inherited from class es.kukenan.smartfi.events.common.AbstractEvent
canEqual, equals, getBody, getChannel, getCompanyId, getContext, getCreationDate, getCreationTs, getManager, getMessageId, getOperationType, getOrigin, getRequestId, getSession, getTypeId, getUserAgent, getUserId, getUserIp, getVersion, hashCode, setBody, setChannel, setCompanyId, setCreationDate, setCreationTs, setManager, setMessageId, setOperationType, setOrigin, setRequestId, setSession, setUserAgent, setUserId, setUserIp, setVersion, toString
-
Field Details
-
CONTEXT
Constant value for the context field, unique for smartfi security micro-service context.- See Also:
-
-
Constructor Details
-
AbstractSecurityGatewayEvent
Minimal constructor.- Parameters:
typeId- event type (the pair origin-typeId is the unique identifier of the event type in the platform).version- event version.
-
AbstractSecurityGatewayEvent
public AbstractSecurityGatewayEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body) State constructor.- Parameters:
requestId- the request identifier (transaction).companyId- company/bank identifier (multi-tenant context, BC/BF).origin- service that have produced this event.typeId- event type (the pair origin-typeId is the unique identifier of the event type in the platform).operationType- operation type (some kind of event sub-type).messageId- arbitrary application-specific identifier for the message/event.version- event version.creationTs- event creation timestamp (milliseconds from EPOCH).channel- event channel.session- session identifier.manager- manager that generate event.userId- user identifier.body- event body.
-
AbstractSecurityGatewayEvent
public AbstractSecurityGatewayEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body, String userIp, String userAgent) State constructor.- Parameters:
requestId- the request identifier (transaction).companyId- company/bank identifier (multi-tenant context, BC/BF).origin- service that have produced this event.typeId- event type (the pair origin-typeId is the unique identifier of the event type in the platform).operationType- operation type (some kind of event sub-type).messageId- arbitrary application-specific identifier for the message/event.version- event version.creationTs- event creation timestamp (milliseconds from EPOCH).channel- event channel.session- session identifier.manager- manager that generate event.userId- user identifier.body- event body.userIp- user IP Address.userAgent- user-agent header info.
-