uk.gov.di.ipv.cri.common.library.domain.AuditEventContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cri-common-lib Show documentation
Show all versions of cri-common-lib Show documentation
Digital Identity Credential Issuer common libraries
package uk.gov.di.ipv.cri.common.library.domain;
import uk.gov.di.ipv.cri.common.library.domain.personidentity.PersonIdentityDetailed;
import uk.gov.di.ipv.cri.common.library.persistence.item.SessionItem;
import java.util.Map;
public class AuditEventContext {
private final PersonIdentityDetailed personIdentity;
private final Map requestHeaders;
private final SessionItem sessionItem;
public AuditEventContext(
PersonIdentityDetailed personIdentity,
Map requestHeaders,
SessionItem sessionItem) {
this.personIdentity = personIdentity;
this.requestHeaders = requestHeaders;
this.sessionItem = sessionItem;
}
public AuditEventContext(Map requestHeaders, SessionItem sessionItem) {
this(null, requestHeaders, sessionItem);
}
public PersonIdentityDetailed getPersonIdentity() {
return personIdentity;
}
public Map getRequestHeaders() {
return requestHeaders;
}
public SessionItem getSessionItem() {
return sessionItem;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy