@Test void testSave() throws CertificateException, IOException { testSaveAndLoadForSpecificDvca(DvcaProvider.GOV_DVCA, DvcaProvider.GOV_DVCA.getValue(), "https: testSaveAndLoadForSpecificDvca(DvcaProvider.NEW_GOV_DVCA, DvcaProvider.GOV_DVCA.getValue(), "https: testSaveAndLoadForSpecificDvca(DvcaProvider.BUDRU, DvcaProvider.BUDRU.getValue(), "https: }
public void save(String directory) throws CertificateEncodingException { fillCoreConfigWithValues(); XmlHelper.marshalObjectToFile(coreConfig, directory + "/" + FileNames.POSEIDAS_XML.getFileName()); }
PoseidasCoreConfigForm extends AbstractConfigurationLoader { public void save(String directory) throws CertificateEncodingException { fillCoreConfigWithValues(); XmlHelper.marshalObjectToFile(coreConfig, directory + "/" + FileNames.POSEIDAS_XML.getFileName()); } }
PoseidasCoreConfigForm extends AbstractConfigurationLoader { public void save(String directory) throws CertificateEncodingException { fillCoreConfigWithValues(); XmlHelper.marshalObjectToFile(coreConfig, directory + "/" + FileNames.POSEIDAS_XML.getFileName()); } PoseidasCoreConfigForm(); }
PoseidasCoreConfigForm extends AbstractConfigurationLoader { public void save(String directory) throws CertificateEncodingException { fillCoreConfigWithValues(); XmlHelper.marshalObjectToFile(coreConfig, directory + "/" + FileNames.POSEIDAS_XML.getFileName()); } PoseidasCoreConfigForm(); boolean loadConfiguration(final File poseidasXml); boolean loadConfiguration(final File poseidasXml, String entityIdInt); @Override boolean loadConfiguration(MultipartFile configurationFile); void save(String directory); void setPoseidasConfigXmlFile(MultipartFile poseidasConfigXmlFile); }
PoseidasCoreConfigForm extends AbstractConfigurationLoader { public void save(String directory) throws CertificateEncodingException { fillCoreConfigWithValues(); XmlHelper.marshalObjectToFile(coreConfig, directory + "/" + FileNames.POSEIDAS_XML.getFileName()); } PoseidasCoreConfigForm(); boolean loadConfiguration(final File poseidasXml); boolean loadConfiguration(final File poseidasXml, String entityIdInt); @Override boolean loadConfiguration(MultipartFile configurationFile); void save(String directory); void setPoseidasConfigXmlFile(MultipartFile poseidasConfigXmlFile); static final int UNIT; static final int LENGTH; static final int SESSION_MAX_PENDING_REQUESTS; static final int HOURS_REFRESH_BEFORE_EXPIRE; }