How to get the admin session
Geschrieben in CQ, Programming am 7. März 2009 Kommentar »
I now work since 3 months with cq5 and I realy like it. But there are so many new things to learn!! For example the thing: How do I have to get the admin session? Thanks Julian for your help. I would never get it myself. final SlingRepository repo = sling.getService(SlingRepository.class); final JcrResourceResolverFactory resolverFactory = [...]