IMPORT_PII_ELEMENT.equals(child.getNodeName())) { BeanConfig bc = parseBeanConfig((Element) child); bc.setValidate(false); protectedItemImporters.add(bc);
IMPORT_PII_ELEMENT.equals(child.getNodeName())) { BeanConfig bc = parseBeanConfig((Element) child); bc.setValidate(false); protectedItemImporters.add(bc);
&& DATA_STORE_ELEMENT.equals(child.getNodeName())) { BeanConfig bc = parseBeanConfig(parent, DATA_STORE_ELEMENT); bc.setValidate(false); DataStore store = bc.newInstance(DataStore.class); if (store instanceof MultiDataStore) {
&& DATA_STORE_ELEMENT.equals(child.getNodeName())) { BeanConfig bc = parseBeanConfig(parent, DATA_STORE_ELEMENT); bc.setValidate(false); DataStore store = bc.newInstance(DataStore.class); if (store instanceof MultiDataStore) {
/** * Read the optional WorkspaceSecurity Element of Workspace's configuration. * It uses the following format: * <pre> * <WorkspaceSecurity> * <AccessControlProvider class="..." (optional)> * </WorkspaceSecurity> * </pre> * * @param parent Workspace-Root-Element * @return a new <code>WorkspaceSecurityConfig</code> or <code>null</code> * if none is configured. * @throws ConfigurationException */ public WorkspaceSecurityConfig parseWorkspaceSecurityConfig(Element parent) throws ConfigurationException { BeanConfig acProviderConfig = null; Element element = getElement(parent, WSP_SECURITY_ELEMENT, false); if (element != null) { Element provFact = getElement(element, AC_PROVIDER_ELEMENT, false); if (provFact != null) { acProviderConfig = parseBeanConfig(element, AC_PROVIDER_ELEMENT); acProviderConfig.setValidate(false); // JCR-1920 } return new WorkspaceSecurityConfig(acProviderConfig); } return null; }
/** * Read the optional WorkspaceSecurity Element of Workspace's configuration. * It uses the following format: * <pre> * <WorkspaceSecurity> * <AccessControlProvider class="..." (optional)> * </WorkspaceSecurity> * </pre> * * @param parent Workspace-Root-Element * @return a new <code>WorkspaceSecurityConfig</code> or <code>null</code> * if none is configured. * @throws ConfigurationException */ public WorkspaceSecurityConfig parseWorkspaceSecurityConfig(Element parent) throws ConfigurationException { BeanConfig acProviderConfig = null; Element element = getElement(parent, WSP_SECURITY_ELEMENT, false); if (element != null) { Element provFact = getElement(element, AC_PROVIDER_ELEMENT, false); if (provFact != null) { acProviderConfig = parseBeanConfig(element, AC_PROVIDER_ELEMENT); acProviderConfig.setValidate(false); // JCR-1920 } return new WorkspaceSecurityConfig(acProviderConfig); } return null; }