Class SimpleUser

    • Field Detail

      • hashedPassword

        private String hashedPassword
        password value
      • isActive

        private boolean isActive
        indicates if the user is active
    • Constructor Detail

      • SimpleUser

        public SimpleUser​(String inName,
                          String inDescription,
                          String inHashedPassword,
                          boolean inIsActive)
        Create a new SimpleUser instance.
        Parameters:
        inName - a String value
        inDescription - a String value
        inHashedPassword - a String value
        inIsActive - a boolean value
      • SimpleUser

        public SimpleUser()
        Create a new SimpleUser instance.
    • Method Detail

      • isActive

        public boolean isActive()
        Description copied from interface: User
        Indicates if the user is active or not.
        Specified by:
        isActive in interface User
        Returns:
        a boolean value
      • getHashedPassword

        public String getHashedPassword()
        Description copied from interface: User
        Get the hashed password value.
        Specified by:
        getHashedPassword in interface User
        Returns:
        a String value
      • setHashedPassword

        public void setHashedPassword​(String inHashedPassword)
        Sets the hashedPassword value.
        Specified by:
        setHashedPassword in interface MutableUser
        Parameters:
        inHashedPassword - a String value
      • setIsActive

        public void setIsActive​(boolean inIsActive)
        Sets the isActive value.
        Specified by:
        setIsActive in interface MutableUser
        Parameters:
        inIsActive - a boolean value
      • getUserID

        public UserID getUserID()
        Description copied from interface: User
        Get the user id value.
        Specified by:
        getUserID in interface User
        Returns:
        a UserID value
      • setUserId

        public void setUserId​(UserID inUserId)
        Description copied from interface: MutableUser
        Set the user ID value.
        Specified by:
        setUserId in interface MutableUser
        Parameters:
        inUserId - a UserID value