An Example of getServiceResourceResolver() in Use

0

The getAdministrativeResourceResolver() and other admin session methods are helpful for getting things done. From a security perspective, their use is like fingernails scratching across a blackboard. The administrative session methods will be deprecated. It may be possible for a system admin to block access to them sometime in the future. Service specific users can now be used and service access can be limited to the user’s access. Good stuff. Scott Macdonald has provided an example of one way to use the new service specific user access. From his Scott’s Digital Communitiy blog: Querying Adobe Experience Manager 6 data using the Sling getServiceResourceResolver method. Phew! That is not an article name for the weak.

See also:

Gaston Gonzales | AEM 6 and getServiceResourceResolver()
Adobe Consulting Services acs-aem-samples on Github | SampleServiceLoginResourceResolverImpl.java
Yogesh Upadhyay | How to Use Sessions and Resource Resolver through Service Authentication In AEM6

Note: scratching finger nails across a whiteboard does not the same effect as scratching finger nails across a blackboard.

About The Author

Deke departed Southern Alabama as a young man, leaving the humidity and fire ants behind. The fire ants are catching up with him. He works for Adobe. Despite that, his opinions expressed on this site are his own and should never, ever, be attributed or blamed on Adobe. Ask him what he thinks of chiggars sometime. Home Page | GitHub | Adobe Blog | Twitter | LinkedIn