Package io.vertx.mutiny.ext.web.handler
Class SecurityAuditLoggerHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.SecurityAuditLoggerHandler
- All Implemented Interfaces:
MutinyDelegate,io.vertx.core.Handler<RoutingContext>,PlatformHandler,Consumer<RoutingContext>
public class SecurityAuditLoggerHandler
extends Object
implements io.vertx.core.Handler<RoutingContext>, PlatformHandler, Consumer<RoutingContext>, MutinyDelegate
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 Mutiny-ified interface.
- Author:
- Paulo Lopes
- See Also:
-
SecurityAuditLoggerHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vertx.mutiny.ext.web.handler.PlatformHandler
PlatformHandler.PlatformHandlerImpl -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityAuditLoggerHandler(io.vertx.ext.web.handler.SecurityAuditLoggerHandler delegate) Create a new instance ofSecurityAuditLoggerHandlerdelegating to the given (non-null) instance ofSecurityAuditLoggerHandler.SecurityAuditLoggerHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.static SecurityAuditLoggerHandlercreate()Create a new instance of the handler.booleanio.vertx.ext.web.handler.SecurityAuditLoggerHandlerGet the delegate instance.voidhandle(RoutingContext item) Handle an item.inthashCode()static SecurityAuditLoggerHandlernewInstance(io.vertx.ext.web.handler.SecurityAuditLoggerHandler delegate) Creates a new instance of theSecurityAuditLoggerHandler.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
SecurityAuditLoggerHandler
public SecurityAuditLoggerHandler(io.vertx.ext.web.handler.SecurityAuditLoggerHandler delegate) Create a new instance ofSecurityAuditLoggerHandlerdelegating to the given (non-null) instance ofSecurityAuditLoggerHandler. -
SecurityAuditLoggerHandler
-
-
Method Details
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceConsumer<RoutingContext>- Specified by:
acceptin interfacePlatformHandler
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>- Specified by:
handlein interfacePlatformHandler
-
getDelegate
public io.vertx.ext.web.handler.SecurityAuditLoggerHandler getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Specified by:
getDelegatein interfacePlatformHandler- Returns:
- the delegate instance
-
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. -
newInstance
public static SecurityAuditLoggerHandler newInstance(io.vertx.ext.web.handler.SecurityAuditLoggerHandler delegate) Creates a new instance of theSecurityAuditLoggerHandler. -
hashCode
public int hashCode() -
equals
-
toString
-