diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:41:46 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:41:46 +0200 |
commit | 3bd45ace2bfd7e92e744b958ec05cf89dfe602f4 (patch) | |
tree | 2bfc2e20cb3e02ec76ee859fee1973ef22041c07 | |
parent | 1c8feb0dd0ee0cf74e60d93853e6f5d57b034bee (diff) | |
download | pdf-as-4-3bd45ace2bfd7e92e744b958ec05cf89dfe602f4.tar.gz pdf-as-4-3bd45ace2bfd7e92e744b958ec05cf89dfe602f4.tar.bz2 pdf-as-4-3bd45ace2bfd7e92e744b958ec05cf89dfe602f4.zip |
Verifier SPI changes
-rw-r--r-- | pdf-as-lib/build.gradle | 4 | ||||
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/VerifierDispatcher.java | 2 | ||||
-rw-r--r-- | pdf-as-lib/src/main/resources/META-INF/MANIFEST.MF (renamed from pdf-as-lib/src/main/java/META-INF/MANIFEST.MF) | 0 | ||||
-rw-r--r-- | pdf-as-lib/src/main/resources/META-INF/services/at.gv.egiz.pdfas.lib.impl.verify.IVerifier (renamed from pdf-as-lib/src/main/java/META-INF/services/at.gv.egiz.pdfas.lib.impl.verify.IVerifier) | 0 |
4 files changed, 4 insertions, 2 deletions
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle index b98bf0c9..1bbd4d0d 100644 --- a/pdf-as-lib/build.gradle +++ b/pdf-as-lib/build.gradle @@ -55,10 +55,10 @@ repositories { dependencies { compile project (':pdf-as-common') - compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.3.5' - compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.5' compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '1.8.7' compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.3.2' + compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.3.5' + compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.5' compile group: 'commons-io', name: 'commons-io', version: '2.4' compile 'org.apache.commons:commons-collections4:4.0' compile group: 'ognl', name: 'ognl', version: '3.0.8' diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/VerifierDispatcher.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/VerifierDispatcher.java index 56ac41a6..ce7b4707 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/VerifierDispatcher.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/VerifierDispatcher.java @@ -64,6 +64,8 @@ public class VerifierDispatcher { verifiers.add(verfier); } + verifiers.add(new IntegrityVerifier()); + for (IVerifier verfier : verifiers) { logger.info("Registered Verifier: " + verfier.getClass().getName()); } diff --git a/pdf-as-lib/src/main/java/META-INF/MANIFEST.MF b/pdf-as-lib/src/main/resources/META-INF/MANIFEST.MF index 5e949512..5e949512 100644 --- a/pdf-as-lib/src/main/java/META-INF/MANIFEST.MF +++ b/pdf-as-lib/src/main/resources/META-INF/MANIFEST.MF diff --git a/pdf-as-lib/src/main/java/META-INF/services/at.gv.egiz.pdfas.lib.impl.verify.IVerifier b/pdf-as-lib/src/main/resources/META-INF/services/at.gv.egiz.pdfas.lib.impl.verify.IVerifier index bd8d2b22..bd8d2b22 100644 --- a/pdf-as-lib/src/main/java/META-INF/services/at.gv.egiz.pdfas.lib.impl.verify.IVerifier +++ b/pdf-as-lib/src/main/resources/META-INF/services/at.gv.egiz.pdfas.lib.impl.verify.IVerifier |