An application runs specific license checks against certain DAM assets every day. It should send an email to a configured list if it finds warnings, and mark the asset accordingly. A service component that uses the Apache Sling Scheduler Service is created. DAM assets that must NOT be used anymore are hidden using
ACLs and the license check must re-check them.
How should a developer obtain a resource resolver that can read and update the DAM assets?