log.debug("No ac-provider configuration for workspace " + workspaceName + " -> using defaults.");
if (workspaceName.equals(secWorkspaceName) && !workspaceName.equals(defaultWorkspaceName)) {
// UserAccessControlProvider is designed to work with an extra
// workspace storing user and groups. therefore avoid returning
// this ac provider for the default workspace.
prov = new UserAccessControlProvider();
} else {
prov = new ACLProvider();
}
log.debug("Default provider for workspace " + workspaceName + " = " + prov.getClass().getName());
props = Collections.emptyMap();