diff --git a/config/alfresco/public-services-context.xml b/config/alfresco/public-services-context.xml index 84b5a132f0..645979f4b0 100644 --- a/config/alfresco/public-services-context.xml +++ b/config/alfresco/public-services-context.xml @@ -746,6 +746,44 @@ + + + + + org.alfresco.service.cmr.security.PersonService + + + + + + + + + + + + + + + + + + + ${server.transaction.mode.default} + + + + + + + org.alfresco.service.cmr.security.PersonService + + + PersonService Service + + + + diff --git a/source/java/org/alfresco/repo/security/person/PersonServiceImpl.java b/source/java/org/alfresco/repo/security/person/PersonServiceImpl.java index 524e4ee029..a5559e29b6 100644 --- a/source/java/org/alfresco/repo/security/person/PersonServiceImpl.java +++ b/source/java/org/alfresco/repo/security/person/PersonServiceImpl.java @@ -20,6 +20,7 @@ import java.io.Serializable; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; @@ -299,7 +300,7 @@ public class PersonServiceImpl implements PersonService sp.addStore(storeRef); sp.excludeDataInTheCurrentTransaction(false); - HashSet nodes = new HashSet(); + LinkedHashSet nodes = new LinkedHashSet(); ResultSet rs = null; try