[jira] [Commented] (SLING-6113) JcrProviderStateFactory needs a reference to the bundle that's using it
[ https://issues.apache.org/jira/browse/SLING-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1494#comment-1494 ] 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)
[jira] [Commented] (SLING-6113) JcrProviderStateFactory needs a reference to the bundle that's using it
[ https://issues.apache.org/jira/browse/SLING-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1052#comment-1052 ] Carsten Ziegeler commented on SLING-6113: - That's already available in the map as ResourceProvider.AUTH_SERVICE_BUNDLE, the JcrProviderStateFactory already uses this for service users or more precise to pass this info on to the sling repository > 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)