java.lang.Object
io.helidon.webserver.accesslog.AbstractLogEntry
io.helidon.webserver.accesslog.UserLogEntry
All Implemented Interfaces:
AccessLogEntry

public final class UserLogEntry extends AbstractLogEntry
Access log entry for security username. The username has a value only on successful authentication. If there is no security configured, or the authentication fails, username is not available.
  • Method Details

    • create

      public static UserLogEntry create()
      Create a new user log entry.
      Returns:
      a new access log entry for username
      See Also:
      • AccessLogConfig.BuilderBase.addEntry(AccessLogEntry)
      • AccessLogConfig.BuilderBase.addEntry(AccessLogEntry)
    • builder

      public static UserLogEntry.Builder builder()
      Create a new fluent API builder.
      Returns:
      a new builder instance
    • doApply

      protected String doApply(AccessLogContext context)
      Description copied from class: AbstractLogEntry
      Apply the "raw" log entry. The result will go through common formatting, such as padding if configured.
      Specified by:
      doApply in class AbstractLogEntry
      Parameters:
      context - context with access to information useful for access log entries
      Returns:
      log entry
      See Also: