Package io.vertx.reactivex.ext.web.handler

## 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 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

    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()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### 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

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public SecurityAuditLoggerHandler getDelegate()

      Specified by:
        `getDelegate` in interface `PlatformHandler`

    - #### handle

          public void handle​(RoutingContext event)

      Something has happened, so handle it.
      Specified by:
        `handle` in interface `Handler<RoutingContext>`
      Specified by:
        `handle` in interface `PlatformHandler`
      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 by `AuthorizationHandler` and `AuthorizationHandler` instances. The handler will also log the final status of the current request. The marker kinds are defined in the enum `Marker`.
      Returns:

    - #### newInstance

          public static SecurityAuditLoggerHandler newInstance​(SecurityAuditLoggerHandler arg)