Class User

java.lang.Object
com.swiftmq.impl.auth.standard.User

public class User extends Object
  • Constructor Details

    • User

      protected User(String name, String password, Group group, ResourceLimitGroup rlgroup)
  • Method Details

    • getName

      public String getName()
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getGroup

      public Group getGroup()
    • setGroup

      public void setGroup(Group group)
    • getResourceLimitGroup

      public ResourceLimitGroup getResourceLimitGroup()
    • setResourceLimitGroup

      public void setResourceLimitGroup(ResourceLimitGroup rlgroup)
    • getNumberConnections

      public int getNumberConnections()
    • incNumberConnections

      public void incNumberConnections() throws ResourceLimitException
      Throws:
      ResourceLimitException
    • decNumberConnections

      public void decNumberConnections()
    • addHost

      public void addHost(String predicate)
    • removeHost

      public void removeHost(String predicate)
    • isHostAllowed

      public boolean isHostAllowed(String hostname)
    • toString

      public String toString()
      Overrides:
      toString in class Object