ciechanowiec opened a new pull request, #15:
URL: https://github.com/apache/sling-org-apache-sling-jcr-oak-server/pull/15

   1. Jackrabbit Oak has internal dependencies on the 
`org.apache.jackrabbit.oak.api.ContentRepository` service. For instance, the 
registration of 
`org.apache.jackrabbit.oak.spi.security.authentication.external.impl.jmx.SynchronizationMBean`
 as a JMX MBean will not occur if a `ContentRepository` service is unavailable 
(https://github.com/apache/jackrabbit-oak/blob/b5c317af752b3c421c9d341a7cfca407dff29af5/oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/ExternalLoginModuleFactory.java#L203-L206).
   
   2. A standard Apache Sling application based on the Apache Sling Starter 
does not register a `ContentRepository` service, and no such logic is 
implemented in any of the Apache Sling bundles. Therefore, code that is 
dependent on the existence of a registered `ContentRepository` service does not 
work as expected. Among other things, the registration of a 
`SynchronizationMBean` as a JMX MBean does not happen.
   
   3. The proposed solution is to introduce the `ContentRepository` 
registration in the `sling-org-apache-sling-jcr-oak-server` bundle, which is 
responsible for repository initialization. This solution was agreed upon in 
this email thread: 
https://lists.apache.org/thread/xt4r7zo7gr4z0ppymp9flfcyvfj6yg97.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to