GUAC-586: Set attributes during object creation.
This commit is contained in:
1 parent
6cbe8be354
commit
379229dee5
3 files changed
+3
No files matched your search
+1
@@ -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;
|
||||
|
||||
|
||||
+1
@@ -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;
|
||||
|
||||
|
||||
+1
@@ -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