Class User


  • public class User
    extends java.lang.Object
    • Constructor Detail

      • User

        protected User​(java.lang.String name,
                       java.lang.String password,
                       Group group,
                       ResourceLimitGroup rlgroup)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getPassword

        public java.lang.String getPassword()
      • setPassword

        public void setPassword​(java.lang.String password)
      • getGroup

        public Group getGroup()
      • setGroup

        public void setGroup​(Group group)
      • setResourceLimitGroup

        public void setResourceLimitGroup​(ResourceLimitGroup rlgroup)
      • getNumberConnections

        public int getNumberConnections()
      • decNumberConnections

        public void decNumberConnections()
      • addHost

        public void addHost​(java.lang.String predicate)
      • removeHost

        public void removeHost​(java.lang.String predicate)
      • isHostAllowed

        public boolean isHostAllowed​(java.lang.String hostname)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object