use of org.apache.jackrabbit.oak.spi.security.authentication.external.TestSecurityProvider in project jackrabbit-oak by apache.
the class ExternalIdentityImporterTest method before.
@Before
public void before() throws Exception {
securityProvider = new TestSecurityProvider(getConfigurationParameters(), new ExternalPrincipalConfiguration());
QueryEngineSettings queryEngineSettings = new QueryEngineSettings();
queryEngineSettings.setFailTraversal(true);
Jcr jcr = new Jcr();
jcr.with(securityProvider);
jcr.with(queryEngineSettings);
repo = jcr.createRepository();
}
Aggregations