Search in sources :

Example 1 with ZipValidator

use of org.codice.ddf.catalog.transformer.zip.ZipValidator in project ddf by codice.

the class ImportCommand method initZipValidator.

private ZipValidator initZipValidator() {
    ZipValidator zipValidator = new ZipValidator();
    zipValidator.setSignaturePropertiesPath(Paths.get(System.getProperty("ddf.home"), "/etc/ws-security/server/signature.properties").toString());
    zipValidator.init();
    return zipValidator;
}
Also used : ZipValidator(org.codice.ddf.catalog.transformer.zip.ZipValidator)

Aggregations

ZipValidator (org.codice.ddf.catalog.transformer.zip.ZipValidator)1