[
https://issues.apache.org/jira/browse/SLING-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15555494#comment-15555494
]
Bertrand Delacretaz commented on SLING-6113:
--------------------------------------------
bq. That's already available in the map as ResourceProvider.AUTH_SERVICE_BUNDLE
Thanks for the info - that AUTH_SERVICE_BUNDLE is currently only provided for
calls to {{ResourceResolverFactory.getServiceResourceResolver}}, but I see that
{{ResourceResolverFactoryImpl}} does have the using bundle info, so I'll be
able to use that for admin resource resolvers as well.
> JcrProviderStateFactory needs a reference to the bundle that's using it
> -----------------------------------------------------------------------
>
> Key: SLING-6113
> URL: https://issues.apache.org/jira/browse/SLING-6113
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Affects Versions: JCR Resource 2.8.0
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> This is needed to implement the SLING-5135 login admin whitelist: the
> JcrProviderStateFactory needs a reference to the bundle that wants to open an
> admin session or create an admin resource resolver, to be able to pass it
> through the whitelist once that's implemented
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)