Class User


  • public class User
    extends java.lang.Object
    Note that all active users have an implicit read role that is not included in this object.
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • withId

        public User withId​(long id)
      • getUserName

        public java.lang.String getUserName()
      • setUserName

        public void setUserName​(java.lang.String userName)
      • withUserName

        public User withUserName​(java.lang.String userName)
      • isActive

        public boolean isActive()
      • setActive

        public void setActive​(boolean active)
      • withActive

        public User withActive​(boolean active)
      • getRoles

        public java.util.Set<java.lang.String> getRoles()
        Since:
        5.0 this is Set of Strings instead of a Set of a Roles
      • setRoles

        public void setRoles​(java.util.Set<java.lang.String> roles)
        Since:
        5.0 this is Set of Strings instead of a Set of a Roles
      • withRoles

        public User withRoles​(java.util.Set<java.lang.String> roles)
        Since:
        5.0 this is Set of Strings instead of a Set of a Roles
      • toString

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