necouchman commented on code in PR #673:
URL: https://github.com/apache/guacamole-client/pull/673#discussion_r1413083488


##########
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/User.java:
##########
@@ -79,6 +79,23 @@ public static class Attribute {
      * @param password The password to set.
      */
     public void setPassword(String password);
+    
+    /**
+     * Returns true if this user account is disabled, otherwise false.
+     * 
+     * @return 
+     *     True if this user account is disabled, otherwise false.
+     */
+    public boolean isDisabled();
+    
+    /**
+     * Set the disabled status of this account to the boolean parameter as
+     * provided, true if the account should be disabled, otherwise false.
+     * 
+     * @param disabled 
+     *     True if the account should be disabled, otherwise false.
+     */
+    public void setDisabled(boolean disabled);

Review Comment:
   Implemented concurrent with move to `Identifiable` interface.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to