}
workspaceAccessManager.init(securitySession);
// initialize principa-provider registry
// 1) create default
PrincipalProvider defaultPP = new DefaultPrincipalProvider(securitySession, (UserManagerImpl) systemUserManager);
defaultPP.init(new Properties());
// 2) create registry instance
principalProviderRegistry = new ProviderRegistryImpl(defaultPP);
// 3) register all configured principal providers.
for (int i = 0; i < moduleConfig.length; i++) {
principalProviderRegistry.registerProvider(moduleConfig[i]);