try {
String actionsPath = config.getActionsPath();
Uri actionsPathUri = nsaToken.getUri(sToken, actionsPath);
ObjectNode actionsPathNode = actionsPathUri.getStore().retrieveObject(actionsPathUri);
Enumeration actions = actionsPathNode.enumerateChildren();
while (actions.hasMoreElements()) {
ActionNode aNode = ActionNode.getActionNode((String)actions.nextElement());
if (security.hasPermission(sToken, object, aNode)) {
xmlValue.add(createPrivilege(aNode.getPath().lastSegment()));
}