return userManager.getUserGraphNode(userName);
}
});
if (agent != null) {
if (agent.getNode() instanceof UriRef) {
WebIdInfo webIdInfo = webIdGraphsService.getWebIdInfo((UriRef)agent.getNode());
MGraph userGraph = webIdInfo.localPublicUserData();
agent = new GraphNode(agent.getNode(), new UnionMGraph(agent.getGraph(), userGraph));
}
node.addProperty(PLATFORM.user, agent.getNode());
MGraph userContext = new SimpleMGraph(agent.getNodeContext());
removeTripleWithProperty(userContext, PERMISSION.password);