mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUAC-586: Set attributes during object creation.
This commit is contained in:
@@ -123,6 +123,7 @@ public class ConnectionService extends ModeledGroupedDirectoryObjectService<Mode
|
||||
connection.setParentIdentifier(object.getParentIdentifier());
|
||||
connection.setName(object.getName());
|
||||
connection.setConfiguration(object.getConfiguration());
|
||||
connection.setAttributes(object.getAttributes());
|
||||
|
||||
return model;
|
||||
|
||||
|
@@ -106,6 +106,7 @@ public class ConnectionGroupService extends ModeledGroupedDirectoryObjectService
|
||||
connectionGroup.setParentIdentifier(object.getParentIdentifier());
|
||||
connectionGroup.setName(object.getName());
|
||||
connectionGroup.setType(object.getType());
|
||||
connectionGroup.setAttributes(object.getAttributes());
|
||||
|
||||
return model;
|
||||
|
||||
|
@@ -162,6 +162,7 @@ public class UserService extends ModeledDirectoryObjectService<ModeledUser, User
|
||||
// Set model contents through ModeledUser, copying the provided user
|
||||
user.setIdentifier(object.getIdentifier());
|
||||
user.setPassword(object.getPassword());
|
||||
user.setAttributes(object.getAttributes());
|
||||
|
||||
return model;
|
||||
|
||||
|
Reference in New Issue
Block a user