-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
at the moment there is no way to configure a custom SearchFactory/QueryManager implementation, query manager is instantiated in a static method of a non-configurable class:
public final class SearchFactory { public static QueryManager getAccessControllableQueryManager(javax.jcr.query.QueryManager queryManager, HierarchyManager hm) { return (new QueryManagerImpl(queryManager, hm)); } }
I propose to turn SearchFactory into an interface, configure it in mgnl-beans and move the current code to a DefaultSearchFactory
Acceptance criteria