mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1176: Remove all human-readable title properties from the REST form objects.
This commit is contained in:
@@ -69,9 +69,9 @@ public class ModeledUser extends ModeledDirectoryObject<UserModel> implements Us
|
||||
* All attributes related to restricting user accounts, within a logical
|
||||
* form.
|
||||
*/
|
||||
public static final Form ACCOUNT_RESTRICTIONS = new Form("restrictions", "Account Restrictions", Arrays.<Field>asList(
|
||||
new BooleanField(DISABLED_ATTRIBUTE_NAME, "Disabled", "true"),
|
||||
new BooleanField(EXPIRED_ATTRIBUTE_NAME, "Password expired", "true")
|
||||
public static final Form ACCOUNT_RESTRICTIONS = new Form("restrictions", Arrays.<Field>asList(
|
||||
new BooleanField(DISABLED_ATTRIBUTE_NAME, "true"),
|
||||
new BooleanField(EXPIRED_ATTRIBUTE_NAME, "true")
|
||||
));
|
||||
|
||||
/**
|
||||
|
@@ -82,7 +82,7 @@ public class UserService extends ModeledDirectoryObjectService<ModeledUser, User
|
||||
* The password field to provide the user when their password is expired
|
||||
* and must be changed.
|
||||
*/
|
||||
private static final Field NEW_PASSWORD = new PasswordField(NEW_PASSWORD_PARAMETER, "New password");
|
||||
private static final Field NEW_PASSWORD = new PasswordField(NEW_PASSWORD_PARAMETER);
|
||||
|
||||
/**
|
||||
* The name of the HTTP password confirmation parameter to expect if the
|
||||
@@ -94,7 +94,7 @@ public class UserService extends ModeledDirectoryObjectService<ModeledUser, User
|
||||
* The password confirmation field to provide the user when their password
|
||||
* is expired and must be changed.
|
||||
*/
|
||||
private static final Field CONFIRM_NEW_PASSWORD = new PasswordField(CONFIRM_NEW_PASSWORD_PARAMETER, "Confirm new password");
|
||||
private static final Field CONFIRM_NEW_PASSWORD = new PasswordField(CONFIRM_NEW_PASSWORD_PARAMETER);
|
||||
|
||||
/**
|
||||
* Information describing the expected credentials if a user's password is
|
||||
|
Reference in New Issue
Block a user