Session session = repositoryManager.getSession();
Node allPermissions = (Node)session.getItem("/" + USER_STORE + "/" + ALL_PERMISSIONS);
NodeIterator permissionNodes = allPermissions.getNodes();
while (permissionNodes.hasNext()) {
Node permissionNode = permissionNodes.nextNode();
list.add(new Permission(permissionNode.getName(), permissionNode.getProperty(PERMISSION_DESCRIPTION)
.getString()));
}
} catch (ValueFormatException e) {
e.printStackTrace();
} catch (LoginException e) {