groupsUri = namespace.getUri(token, namespaceConfig.getGroupsPath());
try {
groupsNode = groupsUri.getStore().retrieveObject(groupsUri);
} catch (ObjectNotFoundException e) {}
if (groupsNode != null) {
Enumeration rolesEnum = groupsNode.enumerateBindings();
while (rolesEnum.hasMoreElements()) {
ObjectNode.Binding b = (ObjectNode.Binding)rolesEnum.nextElement();
String group = b.getName();
Uri roleUri = namespace.getUri(token, namespaceConfig.getGroupsPath()+"/"+group);
try {