Class User


  • public class User
    extends Object
    A user.
    Author:
    eric.wittmann@redhat.com
    • Constructor Detail

      • User

        public User()
        Constructor.
    • Method Detail

      • getId

        public String getId()
        Returns:
        the id
      • setId

        public void setId​(String id)
        Parameters:
        id - the id to set
      • getPassword

        public String getPassword()
        Returns:
        the password
      • setPassword

        public void setPassword​(String password)
        Parameters:
        password - the password to set
      • getRoles

        public List<String> getRoles()
        Returns:
        the roles
      • setRoles

        public void setRoles​(List<String> roles)
        Parameters:
        roles - the roles to set
      • getRolesAsArray

        public String[] getRolesAsArray()