There is no need to use the adminSession. Instead you can get the ResourceResolver from the request object and adapt it to a Session: ResourceResolver resourceResolver = request.getResourceResolver(); Session session = resourceResolver.adaptTo(Session.class); Node node = session...