Class AuthAttemptInfo

java.lang.Object
org.acemq.rabbitmq.admin.AuthAttemptInfo

public final class AuthAttemptInfo extends Object
Login attempts one node has counted, for one protocol and — when the broker tracks sources — one remote address and username.

The counters run from node start or from the last reset, whichever is later. A rising failure count from one address is a misconfigured client far more often than an attack, and this is the only place either shows up: a failed login never becomes a connection.

  • Constructor Details

  • Method Details

    • protocol

      public String protocol()
      Returns:
      amqp091, http, stream, mqtt and so on
    • remoteAddress

      public String remoteAddress()
      Returns:
      the client's address, or null in the per-node totals
    • username

      public String username()
      Returns:
      the username tried, or null in the per-node totals
    • attempts

      public long attempts()
    • failed

      public long failed()
    • succeeded

      public long succeeded()
    • toString

      public String toString()
      Overrides:
      toString in class Object