Package org.apache.solr.security
Class AuditLoggerPlugin.JSONAuditEventFormatter
- java.lang.Object
-
- org.apache.solr.security.AuditLoggerPlugin.JSONAuditEventFormatter
-
- All Implemented Interfaces:
AuditLoggerPlugin.AuditEventFormatter
- Enclosing class:
- AuditLoggerPlugin
public static class AuditLoggerPlugin.JSONAuditEventFormatter extends Object implements AuditLoggerPlugin.AuditEventFormatter
Event formatter that returns event as JSON string
-
-
Constructor Summary
Constructors Constructor Description JSONAuditEventFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
formatEvent(AuditEvent event)
Formats an audit event as a JSON string
-
-
-
Method Detail
-
formatEvent
public String formatEvent(AuditEvent event)
Formats an audit event as a JSON string- Specified by:
formatEvent
in interfaceAuditLoggerPlugin.AuditEventFormatter
-
-