Description
for OAK-1711 we need a way "login" to the content repository - but there is not way how to acquire it. it seems that it is neither registered as OSGi service, nor in the global whiteboard.
suggesting to do in Oak.createContentRepository(...):
@@ -548,13 +548,15 @@ public class Oak { - return new ContentRepositoryImpl( + ContentRepositoryImpl repository = new ContentRepositoryImpl( store, CompositeHook.compose(commitHooks), defaultWorkspaceName, queryEngineSettings, indexProvider, securityProvider); + whiteboard.register(ContentRepository.class, repository, Collections.emptyMap()); + return repository; }
Attachments
Issue Links
- blocks
-
OAK-1711 Provide tools to manage externally synced users
- Closed