Class SecurityAuditLoggerHandler
- java.lang.Object
-
- io.vertx.reactivex.ext.web.handler.SecurityAuditLoggerHandler
-
- All Implemented Interfaces:
Handler<RoutingContext>
,PlatformHandler
public class SecurityAuditLoggerHandler extends Object implements PlatformHandler, Handler<RoutingContext>
A handler that logs security audit events. This handler is to be used with the underlying loggerio.vertx.ext.auth.audit
. This handler will ensure that logs are structured and that sensitive data is masked. This information can be used to feed SIEM or EDR/XDR tools to monitor and detect security incidents.NOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<SecurityAuditLoggerHandler>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description SecurityAuditLoggerHandler(SecurityAuditLoggerHandler delegate)
SecurityAuditLoggerHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityAuditLoggerHandler
create()
Create a new instance of the handler.boolean
equals(Object o)
SecurityAuditLoggerHandler
getDelegate()
void
handle(RoutingContext event)
Something has happened, so handle it.int
hashCode()
static SecurityAuditLoggerHandler
newInstance(SecurityAuditLoggerHandler arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<SecurityAuditLoggerHandler> __TYPE_ARG
-
-
Constructor Detail
-
SecurityAuditLoggerHandler
public SecurityAuditLoggerHandler(SecurityAuditLoggerHandler delegate)
-
SecurityAuditLoggerHandler
public SecurityAuditLoggerHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public SecurityAuditLoggerHandler getDelegate()
- Specified by:
getDelegate
in interfacePlatformHandler
-
handle
public void handle(RoutingContext event)
Something has happened, so handle it.- Specified by:
handle
in interfaceHandler<RoutingContext>
- Specified by:
handle
in interfacePlatformHandler
- Parameters:
event
- the event to handle
-
create
public static SecurityAuditLoggerHandler create()
Create a new instance of the handler. For each request the audit data is collected and will be logged explicitly byAuthorizationHandler
andAuthorizationHandler
instances. The handler will also log the final status of the current request. The marker kinds are defined in the enumMarker
.- Returns:
-
newInstance
public static SecurityAuditLoggerHandler newInstance(SecurityAuditLoggerHandler arg)
-
-