userParams.put(ProtectedItemImporter.PARAM_IMPORT_BEHAVIOR, getImportBehavior());
ConfigurationParameters config = new ConfigurationParameters(ImmutableMap.of(UserConfiguration.PARAM_USER_OPTIONS, new ConfigurationParameters(userParams)));
SecurityProvider securityProvider = new SecurityProviderImpl(config);
String dir = "target/mk-tck-" + System.currentTimeMillis();
Jcr jcr = new Jcr(new MicroKernelImpl(dir));
jcr.with(Executors.newScheduledThreadPool(1))
.with(securityProvider);
repo = jcr.createRepository();
adminSession = repo.login(getHelper().getSuperuserCredentials());
} else {
adminSession = superuser;
}