Class JsonSecurityEventFormatter.Builder

  • Enclosing class:
    JsonSecurityEventFormatter

    public static class JsonSecurityEventFormatter.Builder
    extends Object
    A builder for JSON security event formatter.
    • Constructor Detail

      • Builder

        Builder()
    • Method Detail

      • setDateTimeFormatterSupplier

        public JsonSecurityEventFormatter.Builder setDateTimeFormatterSupplier​(Supplier<DateTimeFormatter> dateTimeFormatterSupplier)
        Set a supplier of formatter to format any dates in the resulting output. The supplied DateTimeFormatter has to have a time zone configured.
        Parameters:
        dateTimeFormatterSupplier - a supplier of formatter to format dates in the resulting output
        Returns:
        this builder