Class SecurityAuditLoggerHandler
java.lang.Object
io.vertx.reactivex.ext.web.handler.SecurityAuditLoggerHandler
- All Implemented Interfaces:
Handler<RoutingContext>, io.vertx.lang.rx.RxDelegate, PlatformHandler
public class SecurityAuditLoggerHandler
extends Object
implements io.vertx.lang.rx.RxDelegate, PlatformHandler, Handler<RoutingContext>
A handler that logs security audit events. This handler is to be used with the underlying logger
io.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
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<SecurityAuditLoggerHandler> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityAuditLoggerHandlercreate()Create a new instance of the handler.booleanvoidhandle(RoutingContext event) Something has happened, so handle it.inthashCode()static SecurityAuditLoggerHandlertoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
SecurityAuditLoggerHandler
-
SecurityAuditLoggerHandler
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfacePlatformHandler- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
handle
Something has happened, so handle it.- Specified by:
handlein interfaceHandler<RoutingContext>- Specified by:
handlein interfacePlatformHandler- Parameters:
event- the event to handle
-
create
Create a new instance of the handler. For each request the audit data is collected and will be logged explicitly byAuthorizationHandlerandAuthorizationHandlerinstances. The handler will also log the final status of the current request. The marker kinds are defined in the enumMarker.- Returns:
-
newInstance
-