String name = PropertiesUtil.toString(properties.get(COMPONENT_NAME), null);
return componentProvider.getComponent(ReplicationRequestAuthorizationStrategy.class, name);
} else if (REQUEST_AUTHORIZATION_STRATEGY_PRIVILEGE.equals(factory)) {
String jcrPrivilege = PropertiesUtil.toString(properties.get(REQUEST_AUTHORIZATION_STRATEGY_PRIVILEGE_PROPERTY_JCR_PRIVILEGE), null);
return new PrivilegeReplicationRequestAuthorizationStrategy(jcrPrivilege);
}
return null;
}