private AcknowledgementType logSubjectReidentification(
      SubjectReidentificationRequestMessageType message, String direction, String _interface) {
    AcknowledgementType ack = new AcknowledgementType();
    AuditRepositoryLogger auditLogger = new AuditRepositoryLogger();
    LogEventRequestType auditLogMsg = auditLogger.logSubjectReident(message, direction, _interface);

    if (auditLogMsg != null) {
      AuditRepositoryProxyObjectFactory auditRepoFactory = new AuditRepositoryProxyObjectFactory();
      AuditRepositoryProxy proxy = auditRepoFactory.getAuditRepositoryProxy();
      ack = proxy.auditLog(auditLogMsg, message.getAssertion());
    }
    return ack;
  }
  private AcknowledgementType logSubjectResponse(
      NhinSubjectDiscoveryAckMessageType message,
      AssertionType assertion,
      String direction,
      String _interface) {
    AcknowledgementType ack = new AcknowledgementType();
    AuditRepositoryLogger auditLogger = new AuditRepositoryLogger();
    LogEventRequestType auditLogMsg =
        auditLogger.logNhinSubjectDiscoveryAck(message, direction, _interface);

    if (auditLogMsg != null) {
      AuditRepositoryProxyObjectFactory auditRepoFactory = new AuditRepositoryProxyObjectFactory();
      AuditRepositoryProxy proxy = auditRepoFactory.getAuditRepositoryProxy();
      ack = proxy.auditLog(auditLogMsg, assertion);
    }
    return ack;
  }