Package org.jwall.web.audit

Examples of org.jwall.web.audit.IronBeeAuditEvent


      for (Processor p : processors) {
        data = p.process(data);
      }
      log.debug("Data parsed is:\n{}", data);
      data.put(IronBeeAuditEvent.SECTION_BOUNDARY_KEY, handler.boundary);
      return new IronBeeAuditEvent(data);

    } catch (Exception e) {
      throw new IOException(e.getMessage());
    }
  }
View Full Code Here


      URL url = IBAuditReaderTest.class
          .getResource("/IB-95ebd277-b4c4-4951-97da-f9530205da39.log");
      log.info("Reading test-event from {}", url);
      IronBeeAuditReader reader = new IronBeeAuditReader(url.openStream());

      IronBeeAuditEvent event = (IronBeeAuditEvent) reader.readNext();
      log.info("Event = {}", event);

      log.info(" TX_ID = {}", event.get(ModSecurity.TX_ID));
      log.info("REQUEST_URI = {}", event.get(ModSecurity.REQUEST_URI));
      log.info("RESPONSE_STATUS = {}",
          event.get(ModSecurity.RESPONSE_STATUS));

      log.info("REQUEST_HEADERS:Host = {}",
          event.get(ModSecurity.REQUEST_HEADERS + ":HOST"));

      log.info("--------------------------------------------------");
      AuditEventMessage[] msgs = event.getEventMessages();
      for (AuditEventMessage m : msgs) {
        log.info("Message:   {}", m);
      }

      // do {
View Full Code Here

TOP

Related Classes of org.jwall.web.audit.IronBeeAuditEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.