Class UserInfo

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

public final class UserInfo extends Object
A broker user.

No password and no hash. The management API will return the hash, and this class deliberately drops it: nothing here needs it, and a field that holds one ends up in a log line eventually.

  • Constructor Details

  • Method Details

    • name

      public String name()
    • tags

      public List<String> tags()
      Returns:
      the tags: administrator, monitoring, management, policymaker
    • canManage

      public boolean canManage()
      Returns:
      whether this user can read the management API at all
    • toString

      public String toString()
      Overrides:
      toString in class Object