aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-09 13:41:46 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-09 13:41:46 +0200
commit3bd45ace2bfd7e92e744b958ec05cf89dfe602f4 (patch)
tree2bfc2e20cb3e02ec76ee859fee1973ef22041c07
parent1c8feb0dd0ee0cf74e60d93853e6f5d57b034bee (diff)
downloadpdf-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.gradle4
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/VerifierDispatcher.java2
-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