AccessController.checkPermission(new UserManagerAccessPermission());
AccessController.checkPermission(new PermissionManagerAccessPermission());
TrailingSlash.enforceNotPresent(uriInfo);
MGraph resultGraph = new SimpleMGraph();
NonLiteral userPermissionPage = new BNode();
Iterator<PermissionDescripton> permDescs = permGatherer.getAllPermissionDescriptors();
while(permDescs.hasNext()) {
PermissionDescripton desc = permDescs.next();
BNode providedPermission = new BNode();
resultGraph.add(new TripleImpl(userPermissionPage,
USERMANAGER.permission, providedPermission));
resultGraph.add(new TripleImpl(providedPermission,
PERMISSION.javaPermissionEntry, new PlainLiteralImpl(desc.getJavaPermissionString())));