Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save yupadhyay/3392da46d1d60cb9f9dd to your computer and use it in GitHub Desktop.
Save yupadhyay/3392da46d1d60cb9f9dd to your computer and use it in GitHub Desktop.
UserMapping XML for Non Admin Resource Resolver
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
user.mapping="[com.adobe.granite.oauth.server=oauthservice,com.adobe.granite.oauth.server:authentication-handler=admin,com.day.cq.cq-search-suggest=suggestionservice,blog.wemblog.com:writeService=bob, blog.wemblog.com:readService=alice]"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment