uk.gov.ida.eventemitter.StubEventSender Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of verify-event-emitter Show documentation
Show all versions of verify-event-emitter Show documentation
Library providing a Java Service to log Audit Events to a datastore
package uk.gov.ida.eventemitter;
import com.amazonaws.Response;
public class StubEventSender implements EventSender {
@Override
public void sendAuthenticated(final Event event, final String encryptedEvent) {
System.out.println(String.format(
"Event ID: %s, Timestamp: %s, Event Type: %s, Event String: %s",
event.getEventId(),
event.getTimestamp(),
event.getEventType(),
encryptedEvent
));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy