aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2013-03-22 08:57:51 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2013-03-22 08:57:51 +0000
commitdb52e4d66d60184d53a27ba4d6772461daacc03d (patch)
treeb83e1024bc356dd9c612151082ccaa718781a524 /pdf-as-web
parent725749c85e2c4a0dca235e7b89a5c3b2752e5d54 (diff)
downloadpdf-as-3-db52e4d66d60184d53a27ba4d6772461daacc03d.tar.gz
pdf-as-3-db52e4d66d60184d53a27ba4d6772461daacc03d.tar.bz2
pdf-as-3-db52e4d66d60184d53a27ba4d6772461daacc03d.zip
Maintenance update (bugfixes, new features, cleanup...)
Refer to /dok/RELEASE_NOTES-3.3.txt for further information. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/pdf-as/trunk@931 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web')
-rw-r--r--pdf-as-web/pom.xml97
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/ROOT/index.html14
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/Catalina/localhost/pdf-as.xml18
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/advancedconfig.properties273
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/config.properties156
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties33
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/pdf-as-web.properties12
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE.properties56
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE_DEPRECATED.properties56
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN.properties57
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN_DEPRECATED.properties56
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties69
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties67
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/INVISIBLE.properties14
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE.properties155
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_DEPRECATED.properties53
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties60
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties57
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties60
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN.properties54
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_DEPRECATED.properties53
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties58
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties57
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties60
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties33
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties33
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties54
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties57
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties54
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties57
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/VARIABLER_AMTSSIGNATURBLOCK_DE.properties62
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Bold.ttfbin0 -> 561576 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-BoldOblique.ttfbin0 -> 511900 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-ExtraLight.ttfbin0 -> 323456 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Oblique.ttfbin0 -> 512140 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans.ttfbin0 -> 611552 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Bold.ttfbin0 -> 522704 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-BoldOblique.ttfbin0 -> 480764 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Oblique.ttfbin0 -> 476512 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed.ttfbin0 -> 533412 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Bold.ttfbin0 -> 298052 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-BoldOblique.ttfbin0 -> 219552 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Oblique.ttfbin0 -> 225500 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono.ttfbin0 -> 317336 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Bold.ttfbin0 -> 281984 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-BoldItalic.ttfbin0 -> 268544 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Italic.ttfbin0 -> 277644 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif.ttfbin0 -> 307316 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Bold.ttfbin0 -> 257664 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-BoldItalic.ttfbin0 -> 267916 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Italic.ttfbin0 -> 277148 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed.ttfbin0 -> 274316 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Archiv.gifbin0 -> 19334 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Urkunde.gifbin0 -> 13914 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de.pngbin0 -> 22372 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de_highest_resolution.pngbin0 -> 37120 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en.pngbin0 -> 22233 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en_highest_resolution.pngbin0 -> 36360 bytes
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/adobe/AFM_License.html1
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE203
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.dom71
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.sax20
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.xerces56
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/apache/LICENSE202
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE504
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE.apache60
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/dejavu-font/LICENSE99
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/fonts/BitStream.txt17
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ikvm/LICENSE34
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/junit/cpl-v10.html125
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/log4j/LICENSE.txt48
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/lucene/LICENSE.txt15
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/pdfbox/LICENSE25
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/JAI-LICENSE283
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/LICENSE186
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/default.xml116
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/logs/pdf-as-statistic.csv1
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/scripts/catalina.env11
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/scripts/setVariables.bat62
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.bat5
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.sh7
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.bat5
-rw-r--r--pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.sh7
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java29
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/DataURLServlet.java164
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java32
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyPreviewServlet.java33
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java7
-rw-r--r--pdf-as-web/src/main/webapp/META-INF/context.xml11
-rw-r--r--pdf-as-web/src/main/webapp/WEB-INF/decorators.xml9
-rw-r--r--pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml21
-rw-r--r--pdf-as-web/src/main/webapp/jsp/null_request_page.jsp7
-rw-r--r--pdf-as-web/src/main/webapp/sitemesh/buergerkarte_at.jsp227
-rw-r--r--pdf-as-web/src/main/webapp/sitemesh/standalone.jsp234
94 files changed, 4513 insertions, 419 deletions
diff --git a/pdf-as-web/pom.xml b/pdf-as-web/pom.xml
index aa4fe57..5b9fbe0 100644
--- a/pdf-as-web/pom.xml
+++ b/pdf-as-web/pom.xml
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>at.gv.egiz</groupId>
+ <groupId>eu.europa.ec.joinup.egovlabs.pdf-as</groupId>
<artifactId>pdf-as</artifactId>
<version>3.3-SNAPSHOT</version>
</parent>
@@ -17,10 +16,100 @@
<name>PDF-AS Web</name>
<description>Webapplikation zur Amtssignatur fuer elektronische Aktenfuehrung</description>
+ <build>
+
+ <pluginManagement>
+
+ <plugins>
+
+ <!-- This plugin's configuration is used to store Eclipse m2e settings only.
+ It has no influence on the Maven build itself. -->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <versionRange>[2.6,)</versionRange>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </pluginManagement>
+
+ <plugins>
+
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-tomcat</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <!-- Download Apache Tomcat from Maven2 central repository. -->
+ <artifactItem>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat</artifactId>
+ <version>${tomcat.version}</version>
+ <type>zip</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}/tomcat</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/tomcat/default.xml</descriptor>
+ </descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>apache-tomcat-${tomcat.version}-${project.artifactId}-${project.version}</finalName>
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </build>
+
<dependencies>
<dependency>
- <groupId>at.gv.egiz</groupId>
+ <groupId>eu.europa.ec.joinup.egovlabs.pdf-as</groupId>
<artifactId>pdf-as-lib</artifactId>
</dependency>
diff --git a/pdf-as-web/src/main/assembly/tomcat/ROOT/index.html b/pdf-as-web/src/main/assembly/tomcat/ROOT/index.html
new file mode 100644
index 0000000..91980b2
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/ROOT/index.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="refresh" content="0; URL=/pdf-as/" />
+ <title>Apache Tomcat ${tomcat.version} - PDF-AS ${project.version}</title>
+ </head>
+
+ <body>
+ <h1>Apache Tomcat ${tomcat.version} - PDF-AS ${project.version}</h1>
+ <p><a href="/pdf-as/">PDF-AS</a></p>
+ </body>
+
+</html> \ No newline at end of file
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/Catalina/localhost/pdf-as.xml b/pdf-as-web/src/main/assembly/tomcat/configuration/default/Catalina/localhost/pdf-as.xml
new file mode 100644
index 0000000..6d79b26
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/Catalina/localhost/pdf-as.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context path="/pdf-as" cookies="true" reloadable="false" useHttpOnly="true">
+
+ <Manager pathname="" />
+
+ <!-- Use system property "pdf-as.work-dir" or web.xml parameter "work-dir" instead. -->
+ <!--
+ <Parameter name="work-dir" value="${catalina.base}/conf/pdf-as" override="false"/>
+ -->
+
+ <!-- Enable BOTH environment variables in order to apply www.buergerkarte.at layout. -->
+ <!-- This overrides /WEB-INF/decorators.xml settings. -->
+ <!--
+ <Environment name="production_de" value="/sitemesh/buergerkarte_at.jsp?lang=de" type="java.lang.String" />
+ <Environment name="production_en" value="/sitemesh/buergerkarte_at.jsp?lang=en" type="java.lang.String" />
+ -->
+
+</Context>
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/advancedconfig.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/advancedconfig.properties
new file mode 100644
index 0000000..b378183
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/advancedconfig.properties
@@ -0,0 +1,273 @@
+######################################################################
+# Fortgeschrittene PDF-AS Konfiguration
+#
+# Hier koennen fortgeschrittene Einstellungen getaetigt werden.
+# Die hier angefuehrten Eigenschaften werden grundsaetzlich durch die
+# interne Standard-Konfiguration abgedeckt und sind deshalb hier
+# lediglich als Kommentare ausgefuehrt. Die Werte entsprechen jenen
+# der Standard-Konfiguration.
+# Diese Konfiguration muss in config.properties via include-
+# Instruktion eingebunden werden:
+# include.advancedconfig = advancedconfig.properties
+#####################################################################
+
+
+# Betrifft Signieren:
+# Stellt sicher, dass das verarbeitete Dokument mindestens PDF 1.4 entspricht.
+
+#strict_mode=false
+
+
+# Betrifft Signieren:
+# Wenn das Dokument nicht verarbeitet werden kann wird versucht es
+# zuerst zu korrigieren und dann das korrigierte Dokument zu signieren.
+
+#correct_document_if_necessary=true
+
+
+# Betrifft Verifizieren:
+# Wenn das Dokument nicht verarbeitet werden kann wird versucht es
+# zuerst zu korrigieren und dann das korrigierte Dokument zu verifizieren.
+# Dies kann nur fuer textuelle Signaturen erfolgreich sein.
+
+#correct_document_on_verify_if_necessary=true
+
+
+# Wenn ein Dokument korrigiert werden soll:
+# Gibt an mit welchem Corrector ein zu korrigierendes Dokument korrigiert wird:
+# internal - das Dokument wird mit dem "internen" iText Corrector korrigiert
+# external - das Dokument wird durch einen externen Kommandozeilenaufruf korrigiert.
+# Hinweis: ein externes Programm aufzurufen birgt gewisse Risiken in sich
+# und sollte daher moeglichst nicht verwendet werden.
+
+#corrector=internal
+
+
+# Kommandozeile fuer den externen Connector.
+# Die Variablen ##input_document## bzw. ##output_document## werden von PDF-AS
+# durch die absoluten Pfad- und Dateinamen des zu korrigierenden bzw. des
+# korrigierten Dokuments ersetzt.
+# Als Pfad-Separator sollte '/' verwendet werden.
+
+#external_corrector_commandline=C:/correct.exe "##input_document##" "##output_document##"
+
+
+# Timeout (ms) fuer die Ausfuehrung des externen Correctors.
+# Das Kommando wird abgebrochen, wenn das Timeout erreicht wird bevor
+# das Kommando abgearbeitet wurde.
+# Achtung: Es besteht allerdings keine Garantie, dass der Korrekturvorgang auch tatsaechlich
+# durch ein Timeout abgebrochen wird. Dies ist im Wesentlichen abhaengig von der Beschaffenheit
+# des Korrekturprogramms sowie vom verwendeten Betriebssystem.
+
+#external_corrector_timeout=15000
+
+
+# Aktiviert, oder deaktiviert grundsaetzlich das - potenziell zeit- und ressourcen-aufwaendige
+# Suchen nach Platzhalter-Bildern in PDF-Dokumenten
+# Festlegung fuer einzelnes Profil
+# sig_obj.PROFILE.enable_placeholder_search=[true|false]
+# Die Suche ist standardmaessig aus Sicherheitsgruenden deaktiviert (Defaultwert hier = false)
+# Es muss bewusst sein, dass ueber einen Platzhalter benutzerseitig bestimmte Profile zur Signatur
+# ausgewaehlt werden koennen!
+
+#enable_placeholder_search=false
+
+
+# Ueberpruefe Korrektheit des Dokuments
+# bei binary_only=true: Fehler falls textuelle Signatur
+# bei assume_only_signature_blocks=false: Fehler falls inkrementelle Updates nach Signatur
+# In beiden Faellen wird check_old_textual_sigs beruecksichtigt.
+
+#check_document=true
+
+
+# Falls der letzte inkrementelle Updateblock keine Signatur enthaelt wuerde sofern
+# check_document=true gesetzt ist eine Exception geworfen werden und die Pruefung
+# abgebrochen werden. Mit diesem Schalter ist es moeglich, diese Exception zu
+# unterdruecken, um die Auswertung extern vornehmen zu koennen (standard: false)
+
+#supress_exception_when_last_iublock_is_no_signature=false
+
+
+# VerificationFilterParameters
+
+#binary_only=false
+#assume_only_signature_blocks=false
+#check_old_textual_sigs=true
+
+
+
+##################
+# Signaturdienste
+
+
+## Lokale BKU
+
+#bku.available_for_web=true
+#bku.available_for_commandline=true
+#bku.sign.KeyboxIdentifier=SecureSignatureKeypair
+
+
+## Online BKU (MOCCA)
+
+#moc.available_for_web=true
+#moc.available_for_commandline=false
+#moc.sign.KeyboxIdentifier=SecureSignatureKeypair
+
+
+## Handy
+
+#mobile.sign.KeyboxIdentifier=SecureSignatureKeypair
+#mobiletest.sign.KeyboxIdentifier=SecureSignatureKeypair
+
+
+## MOA
+
+#moa.available_for_web=true
+#moa.available_for_commandline=true
+
+# MOA Detached Signieren aus Konsole moeglich - zurzeit moeglich nur mit BKU
+
+#moa.sign.console.detached.enabled=false
+
+
+
+#########################################################
+# Standardfeldlaengen der Felder fuer die Binaersignatur
+
+
+# Reservierte Anzahl Bytes fuer den Signaturparameter
+# z.B. etsi-moc-1.1:ecdsa-sha256@669ee461
+# etsi-bka-atrust-1.0:ecdsa-sha256:sha256:sha256:sha1
+
+#defaults.phlength.SIG_ID=70
+
+
+# Reservierte Anzahl an Bytes fuer den Signaturalgorithmus
+# (relevant fuer BAIK-Signaturen)
+# z.B. http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256
+
+#defaults.phlength.SIG_ALG=100
+
+
+# Reservierte Anzahl an Bytes fuer den Signatornamen, falls SIG_NAME anstelle von SIG_SUBJECT verwendet wird.
+
+#defaults.phlength.SIG_NAME=210
+
+
+# Binaersignatur: reservierter Platz fuer Zertifikat
+# profilweise: sig_obj.PROFILE.phlength.certificate=xyz
+
+#defaults.phlength.certificate=10000
+
+
+# Binaersignatur: reservierte Platz fuer Zeitstempel
+# profilweise: sig_obj.PROFILE.phlength.timestamp=xyz
+
+#defaults.phlength.timestamp=5000
+
+
+# Standardgroesse des Fensters innerhalb dessen Zeilenumbrueche gesetzt werden duerfe.
+# profilweise: sig_obj.PROFILE.phlength.line_break_tolerance=xyz
+
+#defaults.phlength.line_break_tolerance=10
+
+
+# Falls die Breite eines Signaturblocks definiert wird (ueber API, Commandline oder ueber das Profil),
+# die unterhalb eines sinnvollen Wertes liegt, dann wird im Log eine Warnung ausgegeben, da
+# Signaturbloecke unter Umstaenden nicht mehr sinnvoll dargestellt werden koennen.
+# Der Standard-Schwellwert fuer diese Warnungen (= 150) kann global oder profilweise festgelegt
+# werden (z.B. um die Warnung zu deaktivieren, kann der Wert auf 0 gesetzt werden).
+# sig_obj.PROFILE.signature_block_width_warning_threshold=xyz
+
+#default.signature_block_width_warning_threshold=150
+
+
+# PDF/A-1b Unterstuetzung fuer alle Profile einschalten
+
+#default.SIG_PDFA1B_VALID=false
+
+
+# BAIK-Signatur Unterstuetzung fuer alle Profile einschalten
+
+#default.SIG_BAIK_ENABLED=false
+
+
+
+#############################################
+# Signaturkennzeichnung (fuer Adobe Acrobat)
+
+
+# Standard Name fuer die Signaturkennzeichnung (binaer)
+
+#default.adobeSignText.binary=PDF-AS
+
+
+# Standard Name fuer die Signaturkennzeichnung (binaer)
+
+#default.adobeSignText.textual=PDF-AS
+
+
+# Standard-Name fuer die PDF-Signatur
+
+#default.adobeSignFieldValue=PDF-AS Signatur
+
+
+# Standardwert fuer "Reason"-Feld der jeweiligen Signatur
+
+#default.adobeSignReasonValue=Informationen zur Pr\u00FCfung finden Sie unter http://www.signaturpruefung.gv.at
+
+
+# Standard Prueflink fuer die Adobe Signaturkennzeichnung (nur relevant falls Adobe Plugin fuer Pruefung verwendet wird)
+
+#default.verifyURL=http://www.signaturpruefung.gv.at
+
+
+# Standard Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung)
+
+#default.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+
+
+########################################
+# Unterstuetzte Buergerkartenumgebungen
+# Da sich die Signaturen verschiedener Buergerkartenumgebungen unterscheiden, sind fuer die zum Zeitpunkt des Releases
+# bekannten Auspraegungen in PDF-AS entsprechende Templates hinterlegt. Welche Templates verwendet werden bzw. welche
+# Buergerkartenumgebung jeweils vorliegt wird ueber einen Identifier aus dem Response-Header "User-Agent" bzw. "Server"
+# (http://www.buergerkarte.at/konzept/securitylayer/spezifikation/aktuell/bindings/bindings.html#http.kodierung.response)
+# festgestellt.
+#
+# z.B.
+# citizen-card-environment/1.2 asignSecurityLayer/1.4.2
+# weist auf eine Signatur der lokalen A-Trust Buergerkartenumgebung (mit der Version 1.4.2) hin.
+#
+# Das Mapping dazu kann hier wie folgt gesetzt werden:
+# signaturelayout.pattern.XXX=^citizen-card-environment/1\\.2 asignSecurityLayer/((1\\.3\\.3)|(1\\.4\\.[1-2]))$
+# signaturelayout.implementation.XXX=at.knowcenter.wag.egov.egiz.sig.signaturelayout.atrust.ATrustSignatureLayoutHandler
+#
+# Dieses besteht jeweils aus zwei Eintraegen: Einem regulaerem Ausdruck, der den BKU-Identifier abbildet und der
+# Angabe einer Handler-Implementierung. ("XXX" im Konfigurationsschluessel sollte durch einen eindeutigen Bezeichner
+# wie z.B. "atrustbku" ersetzt werden.)
+
+
+
+#############################################
+# LDAP-Konfiguration
+# Fuer eine Signaturpruefung wird das verwendete Signaturzertifikat benoetigt.
+# Dieses steht bei binaeren Signaturen automatisch zu Verfuegung, textuelle Signaturen
+# beinhalten allerdings nur eine Referenz auf das betreffende Signaturzertifikat in Form
+# von Auststellernamen+Seriennummer.
+# Deshalb wird bei der Pruefung textueller Signaturen versucht, das erforderliche Zertifikat
+# von den Verzeichnisdiensten der jeweiligen Zertifizierungsdiensteanbieter (ZDA) zu holen.
+# Die interne PDF-AS Konfiguration enthaelt bereits eine Reihe Einstellung fuer die
+# Verzeichnisdienste der bekannten ZDAs.
+# Hier koennen weitere LDAP-Dienste registriert werden. Es wird dabei jeweils ein
+# Ausstellername auf einen LDAP-Dienst abgebildet.
+#
+# z.B.
+# ldap_mapping.NAME.issuer_name=CN=a-sign-Premium-Sig-01,OU=a-sign-Premium-Sig-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT
+# ldap_mapping.NAME.url=ldap://ldap.a-trust.at/ou=a-sign-Premium-Sig-01,o=A-Trust,c=at
+# ldap_mapping.NAME.serial_attr=eidCertificateSerialNumber
+#
+# NAME kann frei gewaehlt werden, sollte jedoch unverwechselbar und eindeutig sein.
+# z.B. im Falle des o.g. Beispiels: ldap_mapping.asign_prem_sig01.issuer_name=...
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/config.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/config.properties
new file mode 100644
index 0000000..3ed7ca1
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/config.properties
@@ -0,0 +1,156 @@
+######################################################################
+# PDF-AS Konfiguration
+#
+# Diese Datei enthaelt empfohlene Einstellungen fuer PDF-AS.
+#
+# Hinweis: Hier werden die wichtigsten Einstellungsmoeglichkeiten
+# angeboten. Eine fortgeschrittene Konfiguration ist ueber die Datei
+# advancedconfig.properties moeglich, die mit der Include-Anweisung:
+# include.advancedconfig = advancedconfig.properties eingebunden
+# eingebunden werden kann.
+######################################################################
+
+
+
+##################
+# Signaturdienste
+# Hier werden die verwendbaren Signaturdienste (Lokale BKU, Online BKU, Handy-Signatur, MOA)
+# angefuehrt.
+
+##
+# Lokal installierte Buergerkartensoftware
+# ohne SSL: http://127.0.0.1:3495/http-security-layer-request
+# mit SSL : https://127.0.0.1:3496/https-security-layer-request
+# Signatur
+bku.sign.url=http://127.0.0.1:3495/http-security-layer-request
+# Verifikation
+bku.verify.url=http://127.0.0.1:3495/http-security-layer-request
+
+##
+# Online BKU (MOCCA)
+# Signatur
+moc.sign.url=http://127.0.0.1:8080/bkuonline/http-security-layer-request
+
+##
+# Handy-Signatur
+# Signaturservice URL
+mobile.sign.url=https://www.handy-signatur.at/mobile/https-security-layer-request/default.aspx
+
+##
+# Handy Signatur (Test)
+# Signaturservice URL
+mobiletest.sign.url=https://test1.a-trust.at/https-security-layer-request/default.aspx
+
+##
+# MOA Signatur
+# Signaturservice URL
+moa.sign.url=http://localhost:8080/moa-spss/services/SignatureCreation
+# Identifier fuer den zu verwendenden serverseitig hinterlegten Signaturschluessel.
+# Siehe auch http://joinup.ec.europa.eu/site/moa-idspss/moa-spss-1.5.1/doc/handbook/config/config.html#konfigurationsparameter_ss
+moa.sign.KeyIdentifier=KG_allgemein
+
+##
+# MOA Verifikation
+# Verifikationsservice URL
+moa.verify.url=http://localhost:8080/moa-spss/services/SignatureVerification
+# Identifier des zu verwendenden Vertrauensprofils fuer die Signaturpruefung.
+# Siehe auch http://joinup.ec.europa.eu/site/moa-idspss/moa-spss-1.5.1/doc/handbook/config/config.html#konfigurationsparameter_sp_certificatevalidation_pathvalidation_trustprofile
+moa.verify.TrustProfileID=SecureSignature
+
+
+#########################################################
+# Standardfeldlaengen der Felder fuer die Binaersignatur
+# Bei Binaersignaturen werden Daten, die sich erst nach dem Ausloesen der Signatur ergeben, wie
+# z.B. Unterzeichnername, Signaturzeitpunkt etc., NACH Aufbringen der Signatur in das Dokument
+# eingefuegt. Hierfuer muss jedoch VOR der Signatur bereits der erforderliche Platz reserviert
+# werden. Dies erfolgt ueber die *phlength.SIG_* Parameter.
+# Hinweis: Je groesser der Wert eines im Signaturblock dargestellten Feldes gewaehlt wird, desto
+# groesser wird auch der Signaturblock. Ein zu kleiner Wert kann dazu fuehren, dass
+# einzelne Daten keinen Platz finden und der Signaturvorgang scheitert.
+
+# Reservierte Anzahl an Zeichen fuer den Signaturzeitpunkt (z.B. 2013-02-08T10:52:26+01:00)
+defaults.phlength.SIG_DATE=70
+
+# Reservierte Anzahl an Zeichen fuer die Seriennummer des Zertifikats.
+defaults.phlength.SIG_NUMBER=70
+
+# Reservierte Anzahl an Zeichen fuer den Aussteller-Namen
+defaults.phlength.SIG_ISSUER=150
+
+# Reservierte Anzahl an Zeichen fuer den Signaturwert
+defaults.phlength.SIG_VALUE=350
+
+# Reservierte Anzahl an Zeichen fuer den Unterzeichnernamen
+# Es moeglich, den Namen des Signators dynamisch aus Informationen des verwendeten Zertifikats
+# zusammenzusetzen. Konkret kann auf die einzelnen RDN Teile des Issuer DN und des Subject DN
+# des Signaturzertifikats wie im folgenden Beispiel illustriert zugegriffen werden:
+#
+# (1) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.CN}${subject.O != null ? ("\n" + subject.O) : ""}
+# (2) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.T \!\= null ? (subject.T + " ") \: ""}${subject.CN}
+#
+# Beispiel (1) gibt die Organisation des Unterzeichners an, Beispiel (2) Titel und Name.
+#
+# Die Notation ${..} ermoeglicht die dynamische Auswertung eines Ausdrucks. Verfuegbar sind "subject"
+# und "issuer" und die im Zertifikat-DN vorhandenen RDNs.
+#
+# Achtung:
+# Fuer die binaere Signatur muss die maximale Anzahl zu erwartender Zeichen in der globalen Einstellung
+# defaults.phlength.SIG_SUBJECT=...
+# bzw. profileweise via
+# sig_obj.PROFIL.phlength.SIG_SUBJECT=...
+# festgelegt werden.
+defaults.phlength.SIG_SUBJECT=128
+
+
+# Bietet die Moeglichkeit, eine fortgeschrittene Konfiguration einzubinden.
+include.advancedconfig = advancedconfig.properties
+
+
+#####################################################################################################
+# Unterstuetzte Signaturprofile
+# Hinweise zum Include-Mechanismus:
+# - Pfade sind relativ zu dieser Konfigurationsdatei zu setzen.
+# - Es koennen Wildcards verwendet werden.
+# z.B. include = profiles/*AMTSSIGNATURBLOCK*.properties
+# - Bei mehrfachen Include-Anweisungen ist darauf zu achten, dass die Include-Keys eindeutig sind.
+# Dazu sollte ein beliebiger Bezeichner an "include." angehaengt werden.
+# z.B. include.standard = profiles/SIGNATURBLOCK*.properties
+# include.amtssignatur = profiles/*AMTSSIGNATUR*.properties
+# - Include-Keys werden lexikografisch sortiert, bevor die Include-Anweisungen ausgefuehrt werden.
+# Dadurch kann eine Reihenfolge der Includes vorgegeben werden.
+#
+# Anm.: profiles/SIGNATURBLOCK_DE.properties enthaelt Erlaeuterungen in Hinblick auf die
+# Konfiguration einzelner Profile.
+
+# Standard-Profile
+include.01 = profiles/INVISIBLE.properties
+include.02 = profiles/SIGNATURBLOCK_DE.properties
+include.03 = profiles/SIGNATURBLOCK_DE_DEPRECATED.properties
+include.04 = profiles/SIGNATURBLOCK_DE_NOTE.properties
+include.05 = profiles/SIGNATURBLOCK_DE_PDFA.properties
+include.06 = profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties
+include.07 = profiles/SIGNATURBLOCK_EN.properties
+include.08 = profiles/SIGNATURBLOCK_EN_DEPRECATED.properties
+include.09 = profiles/SIGNATURBLOCK_EN_NOTE.properties
+include.10 = profiles/SIGNATURBLOCK_EN_PDFA.properties
+include.11 = profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties
+include.12 = profiles/SIGNATURBLOCK_MINIMAL_DE.properties
+include.13 = profiles/SIGNATURBLOCK_MINIMAL_EN.properties
+include.14 = profiles/SIGNATURBLOCK_SMALL_DE.properties
+include.15 = profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties
+include.16 = profiles/SIGNATURBLOCK_SMALL_EN.properties
+include.17 = profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties
+
+# Amtssignatur-Profile
+include.18 = profiles/AMTSSIGNATURBLOCK_DE.properties
+include.19 = profiles/AMTSSIGNATURBLOCK_DE_DEPRECATED.properties
+include.20 = profiles/AMTSSIGNATURBLOCK_EN.properties
+include.21 = profiles/AMTSSIGNATURBLOCK_EN_DEPRECATED.properties
+include.22 = profiles/VARIABLER_AMTSSIGNATURBLOCK_DE.properties
+
+# BAIK-Profile
+include.23 = profiles/BAIK_ARCHIV_SIGNATUR.properties
+include.24 = profiles/BAIK_URKUNDE_SIGNATUR.properties
+
+# Legt das Standard-Signaturprofil fest
+sig_obj.type.default=SIGNATURBLOCK_DE
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties
new file mode 100644
index 0000000..5fe51c0
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties
@@ -0,0 +1,33 @@
+log4j.rootLogger = WARN, CONSOLE, ROLLINGFILE
+
+# DETAIL LEVELS
+log4j.logger.at.gv.egiz.pdfas = INFO
+log4j.logger.at.knowcenter = INFO
+log4j.logger.org.pdfbox = INFO
+log4j.logger.at.knowcenter.wag.egov.egiz.ldap = DEBUG
+log4j.logger.org.apache.commons.httpclient.HttpMethodBase = ERROR
+# Statistical logger
+log4j.logger.statistic = INFO, STATISTIC
+
+# CONSOLE
+log4j.appender.CONSOLE = org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout = org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern = [%-5p@%d{dd.MM.yyyy HH:mm:ss}] %c:%M:%L - %m%n
+log4j.appender.CONSOLE.threshold = ERROR
+log4j.appender.CONSOLE.Target = System.out
+
+# ROLLINGFILE
+log4j.appender.ROLLINGFILE = org.apache.log4j.RollingFileAppender
+log4j.appender.ROLLINGFILE.File = ${catalina.base}/logs/pdf-as.log
+log4j.appender.ROLLINGFILE.MaxFileSize = 10240KB
+log4j.appender.ROLLINGFILE.MaxBackupIndex = 9
+log4j.appender.ROLLINGFILE.layout = org.apache.log4j.PatternLayout
+log4j.appender.ROLLINGFILE.layout.ConversionPattern = [%-5p@%d{dd.MM.yyyy HH:mm:ss}] %c:%M:%L - %m%n
+
+# STATISTIC
+log4j.appender.STATISTIC = org.apache.log4j.RollingFileAppender
+log4j.appender.STATISTIC.File = ${catalina.base}/logs/pdf-as-statistic.csv
+log4j.appender.STATISTIC.MaxFileSize = 10240KB
+log4j.appender.STATISTIC.MaxBackupIndex = 9
+log4j.appender.STATISTIC.layout = org.apache.log4j.PatternLayout
+log4j.appender.STATISTIC.layout.ConversionPattern = %d{dd.MM.yyyy HH:mm:ss};%m%n
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/pdf-as-web.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/pdf-as-web.properties
new file mode 100644
index 0000000..f61c8bb
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/pdf-as-web.properties
@@ -0,0 +1,12 @@
+# time frame the signing time may differ (in the upper and the lower direction) from the host time
+# in seconds
+# valid frame: current time - signing_time_tolerance ... current time + signing_time
+# no value or -1 means that the signing time is not checked
+signing_time_tolerance=900
+
+# this key overrides the dynamically built locrefcontent URL for the retrieval of the data to be signed
+# remove/disable this key to enable the old dynamic build process
+# Use this key to overcome SSL Problems with dataurl communication.
+# Note: Assure that this URL is accessible from the citizen card environment.
+#retrieve_signature_data_url_override=http://localhost:8080/pdf-as/RetrieveSignatureData
+
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE.properties
new file mode 100644
index 0000000..de9f3e0
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE.properties
@@ -0,0 +1,56 @@
+###################################################################################################
+# PROFIL: Amtssignaturblock (Deutsch) mit neuem Layout
+
+sig_obj.AMTSSIGNATURBLOCK_DE.description=Amtssignaturblock-Deutsch, neues Layout
+
+sig_obj.types.AMTSSIGNATURBLOCK_DE=on
+
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_VALUE=Signaturwert
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_SUBJECT=Unterzeichner
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_NUMBER=Serien-Nr.
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_KZ=Methode
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_ID=Parameter
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_META=Pr\u00fcfinformation
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_NOTE=Hinweis
+sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_DATE=Datum/Zeit-UTC
+
+sig_obj.AMTSSIGNATURBLOCK_DE.value.SIG_SUBJECT=DEMO Amtssignatur
+
+sig_obj.AMTSSIGNATURBLOCK_DE.pos=f:80
+sig_obj.AMTSSIGNATURBLOCK_DE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.AMTSSIGNATURBLOCK_DE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+sig_obj.AMTSSIGNATURBLOCK_DE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.AMTSSIGNATURBLOCK_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.AMTSSIGNATURBLOCK_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.AMTSSIGNATURBLOCK_DE.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.AMTSSIGNATURBLOCK_DE.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00a7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.1=SIG_VALUE-cv
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.3=SIG_META-cv
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.4=SIG_NOTE-cv
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.5=SIG_DATE-cv
+
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.ColsWidth=1 6
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.bgcolor=255 255 255
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.padding=4
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.border=0.1
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.halign=center
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.valuehalign=left
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.valign=top
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.imagevalign=middle
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.AMTSSIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_DE.table.info.ColsWidth=1 4
+sig_obj.AMTSSIGNATURBLOCK_DE.table.info.1=SIG_SUBJECT-cv
+sig_obj.AMTSSIGNATURBLOCK_DE.table.info.2=SIG_ISSUER-cv
+sig_obj.AMTSSIGNATURBLOCK_DE.table.info.3=SIG_NUMBER-cv
+sig_obj.AMTSSIGNATURBLOCK_DE.table.info.4=SIG_KZ-cv
+sig_obj.AMTSSIGNATURBLOCK_DE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE_DEPRECATED.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE_DEPRECATED.properties
new file mode 100644
index 0000000..1ffeca4
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_DE_DEPRECATED.properties
@@ -0,0 +1,56 @@
+###################################################################################################
+# PROFIL: Amtssignaturblock (Deutsch)
+
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.description=Amtssignaturblock-Deutsch
+
+sig_obj.types.AMTSSIGNATURBLOCK_DE_DEPRECATED=on
+
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_VALUE=Signaturwert
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_SUBJECT=Unterzeichner
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_DATE=Datum/Zeit-UTC
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_NUMBER=Serien-Nr.
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_KZ=Methode
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_ID=Parameter
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_META=Pr\u00fcfinformation
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.key.SIG_NOTE=Hinweis
+
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.value.SIG_SUBJECT=DEMO Amtssignatur
+
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.pos=f:80
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.adobeSignReasonValue=Informationen zur Pr\u00fcfung finden Sie unter http://www.signaturpruefung.gv.at
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00a7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.1=SIG_VALUE-cv
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.3=SIG_META-cv
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.4=SIG_NOTE-cv
+
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.ColsWidth=1 6
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.bgcolor=255 255 255
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.padding=4
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.border=0.1
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.halign=center
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.valuehalign=left
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.valign=middle
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.imagevalign=middle
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.info.ColsWidth=1 4
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.info.1=SIG_SUBJECT-cv
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.info.2=SIG_DATE-cv
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.info.3=SIG_ISSUER-cv
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.info.4=SIG_NUMBER-cv
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.info.5=SIG_KZ-cv
+sig_obj.AMTSSIGNATURBLOCK_DE_DEPRECATED.table.info.6=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN.properties
new file mode 100644
index 0000000..b5b5004
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN.properties
@@ -0,0 +1,57 @@
+###################################################################################################
+# PROFIL: Amtssignaturblock (Englisch) mit neuem Layout
+
+sig_obj.AMTSSIGNATURBLOCK_EN.description=Amtssignaturblock-Englisch, neues Layout
+
+sig_obj.types.AMTSSIGNATURBLOCK_EN=on
+
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_VALUE=Signature Value
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_SUBJECT=Signatory
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_NUMBER=Serial-No.
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_KZ=Method
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_ID=Parameter
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_META=Verification
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_NOTE=Note
+sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_DATE=Date/Time-UTC
+
+sig_obj.AMTSSIGNATURBLOCK_EN.value.SIG_SUBJECT=Official Signature DEMO
+
+sig_obj.AMTSSIGNATURBLOCK_EN.pos=f:80
+sig_obj.AMTSSIGNATURBLOCK_EN.adobeSignFieldValue=PDF-AS Signature
+sig_obj.AMTSSIGNATURBLOCK_EN.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.AMTSSIGNATURBLOCK_EN.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.AMTSSIGNATURBLOCK_EN.sigLogoAltText=A standard signature logo is shown.
+
+sig_obj.AMTSSIGNATURBLOCK_EN.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.AMTSSIGNATURBLOCK_EN.value.SIG_LABEL=./images/signatur-logo_en.png
+sig_obj.AMTSSIGNATURBLOCK_EN.value.SIG_NOTE=This document was signed with an official signature. According to \u00a7 20 E-Government-Act a printout of this document has the probative value of an official document.
+
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.1=SIG_VALUE-cv
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.3=SIG_META-cv
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.4=SIG_NOTE-cv
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.5=SIG_DATE-cv
+
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.ColsWidth=1 6
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.bgcolor=255 255 255
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.padding=4
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.border=0.1
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.halign=center
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.valuehalign=left
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.valign=top
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.imagevalign=middle
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.AMTSSIGNATURBLOCK_EN.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_EN.table.info.ColsWidth=1 5
+sig_obj.AMTSSIGNATURBLOCK_EN.table.info.1=SIG_SUBJECT-cv
+sig_obj.AMTSSIGNATURBLOCK_EN.table.info.2=SIG_ISSUER-cv
+sig_obj.AMTSSIGNATURBLOCK_EN.table.info.3=SIG_NUMBER-cv
+sig_obj.AMTSSIGNATURBLOCK_EN.table.info.4=SIG_KZ-cv
+sig_obj.AMTSSIGNATURBLOCK_EN.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN_DEPRECATED.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN_DEPRECATED.properties
new file mode 100644
index 0000000..0eab478
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/AMTSSIGNATURBLOCK_EN_DEPRECATED.properties
@@ -0,0 +1,56 @@
+###################################################################################################
+# PROFIL: Amtssignaturblock (Englisch)
+
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.description=Amtssignaturblock-Englisch
+
+sig_obj.types.AMTSSIGNATURBLOCK_EN_DEPRECATED=on
+
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_VALUE=Signature Value
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_SUBJECT=Signatory
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_DATE=Date/Time-UTC
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_NUMBER=Serial-No.
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_KZ=Method
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_ID=Parameter
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_META=Verification
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.key.SIG_NOTE=Note
+
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.value.SIG_SUBJECT=Official Signature DEMO
+
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.pos=f:80
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.adobeSignFieldValue=PDF-AS Signature
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.adobeSignReasonValue=Information about the verification can be found at http://www.signature-verification.gv.at
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.sigLogoAltText=A standard signature logo is shown.
+
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.value.SIG_LABEL=./images/signatur-logo_en.png
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.value.SIG_NOTE=This document was signed with an official signature. According to \u00a7 20 E-Government-Act a printout of this document has the probative value of an official document.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.1=SIG_VALUE-cv
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.3=SIG_META-cv
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.4=SIG_NOTE-cv
+
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.ColsWidth=1 6
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.bgcolor=255 255 255
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.padding=4
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.border=0.1
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.halign=center
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.valuehalign=left
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.valign=middle
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.imagevalign=middle
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.info.ColsWidth=1 5
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.info.1=SIG_SUBJECT-cv
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.info.2=SIG_DATE-cv
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.info.3=SIG_ISSUER-cv
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.info.4=SIG_NUMBER-cv
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.info.5=SIG_KZ-cv
+sig_obj.AMTSSIGNATURBLOCK_EN_DEPRECATED.table.info.6=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties
new file mode 100644
index 0000000..54298bc
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties
@@ -0,0 +1,69 @@
+###################################################################################################
+# PROFIL: BAIK Archivsignatur
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.description=BAIK Archivsignatur
+
+sig_obj.types.BAIK_ARCHIV_SIGNATUR=on
+
+# enable/disable BAIK support for this profile
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_BAIK_ENABLED=true
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_PDFA1B_VALID=true
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_VALUE=Signaturwert
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_SIG_LABEL=Signator
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_DATE=Signaturdatum
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_ISSUER=Zertifizierungsdienst
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_NUMBER=Seriennummer
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_ALG=Algorithmus
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_KZ=Methode
+#sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_ID=Parameter
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_META=Hinweis
+sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_TITLE=ELEKTRONISCHE ARCHIVSIGNATUR
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.pos=f:80
+sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignFieldValue=ELEKTRONISCHE ARCHIVSIGNATUR
+
+# WAI
+sig_obj.BAIK_ARCHIV_SIGNATUR.sigLogoAltText=Abgebildet ist eine Signaturbildmarke mit Bundesadler.
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_META=Dokumentenformat: ${iui.pdfVersion}
+sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_LABEL=./images/Baik_Archiv.gif
+sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_TITLE=ELEKTRONISCHE ARCHIVSIGNATUR
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignFieldValue=Archivsignatur
+sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignText.binary=Archivsignatur der BAIK
+sig_obj.BAIK_ARCHIV_SIGNATUR.verifyURL=http://www.signaturpruefung.gv.at
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.phlength.SIG_META=50
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_SIG_LABEL=BAIK-Archiv\n\nUrkundenarchiv der Bundeskammer f\u00fcr Architekten und Ingenieurskonsulenten
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.1=SIG_TITLE-v
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.2=SIG_VALUE-cv
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.3=SIG_LABEL-i|TABLE-info
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.4=SIG_META-cv
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.ColsWidth=1 5
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.bgcolor=161 198 252
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.padding=4
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.border=0.1
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.halign=center
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.valuehalign=left
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.valign=middle
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.imagevalign=middle
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.font=TTF:DejaVuSansCondensed.ttf,8
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.main.Style.valuefont=TTF:DejaVuSansCondensed.ttf,8
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.ColsWidth=1 4
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.Style.halign=left
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.Style.valuehalign=left
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.Style.valign=middle
+
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.1=SIG_SIG_LABEL-cv
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.2=SIG_DATE-cv
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.3=SIG_ISSUER-cv
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.4=SIG_NUMBER-cv
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.5=SIG_ALG-cv
+sig_obj.BAIK_ARCHIV_SIGNATUR.table.info.6=SIG_KZ-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties
new file mode 100644
index 0000000..52ce6b0
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties
@@ -0,0 +1,67 @@
+###################################################################################################
+# PROFIL: BAIK Beurkundungssignatur
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.description=BAIK Beurkundungssignatur
+
+sig_obj.types.BAIK_URKUNDE_SIGNATUR=on
+
+# enable/disable BAIK support for this profile
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_BAIK_ENABLED=true
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_PDFA1B_VALID=true
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_VALUE=Signaturwert
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_SIG_LABEL=Signator
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_DATE=Signaturdatum
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_ISSUER=Zertifizierungsdienst
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_NUMBER=Seriennummer
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_ALG=Algorithmus
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_KZ=Methode
+#sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_ID=Parameter
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_META=Hinweis:
+sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_TITLE=ELEKTRONISCHE BEURKUNDUNGSSIGNATUR
+
+# WAI
+sig_obj.BAIK_URKUNDE_SIGNATUR.sigLogoAltText=Abgebildet ist die Signaturbildmarke eines staatlich befugten und beeideten Ziviltechnikers mit Bundesadler.
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.pos=f:80
+sig_obj.BAIK_URKUNDE_SIGNATUR.adobeSignFieldValue=Urkundensignatur
+sig_obj.BAIK_URKUNDE_SIGNATUR.adobeSignText.binary=Urkundensignatur der BAIK
+sig_obj.BAIK_URKUNDE_SIGNATUR.verifyURL=http://www.signaturpruefung.gv.at
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.value.SIG_META=Dokumentenformat: ${iui.pdfVersion}
+sig_obj.BAIK_URKUNDE_SIGNATUR.value.SIG_LABEL=./images/Baik_Urkunde.gif
+sig_obj.BAIK_URKUNDE_SIGNATUR.value.SIG_TITLE=ELEKTRONISCHE BEURKUNDUNGSSIGNATUR
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.phlength.SIG_META=50
+sig_obj.BAIK_URKUNDE_SIGNATUR.phlength.SIG_SIG_LABEL=200
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.value.SIG_SIG_LABEL=${subject.CN}${subject.O != null ? ("\n" + subject.O) : ""}${subject.L != null ? ("\nKanzleisitz: " + subject.L) : ""}
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.1=SIG_TITLE-v
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.2=SIG_VALUE-cv
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.3=SIG_LABEL-i|TABLE-info
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.4=SIG_META-cv
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.ColsWidth=1 5
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.bgcolor=248 254 150
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.padding=4
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.border=0.1
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.halign=center
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.valuehalign=left
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.valign=middle
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.imagevalign=middle
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.font=TTF:DejaVuSansCondensed.ttf,8
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.main.Style.valuefont=TTF:DejaVuSansCondensed.ttf,8
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.ColsWidth=1 4
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.Style.halign=left
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.Style.valuehalign=left
+
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.1=SIG_SIG_LABEL-cv
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.2=SIG_DATE-cv
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.3=SIG_ISSUER-cv
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.4=SIG_NUMBER-cv
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.5=SIG_ALG-cv
+sig_obj.BAIK_URKUNDE_SIGNATUR.table.info.6=SIG_KZ-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/INVISIBLE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/INVISIBLE.properties
new file mode 100644
index 0000000..ad2b6a5
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/INVISIBLE.properties
@@ -0,0 +1,14 @@
+###################################################################################################
+# PROFIL: Unsichtbarer Signaturblock
+
+sig_obj.INVISIBLE.description=Unsichtbarer Signaturblock
+
+sig_obj.types.INVISIBLE=on
+
+sig_obj.INVISIBLE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.INVISIBLE.adobeSignReasonValue=Informationen zur Pr\u00fcfung finden Sie unter http://www.signaturpruefung.gv.at
+
+# Platzhaltersuche f\u00fcr dieses Profil deaktivieren
+sig_obj.INVISIBLE.enable_placeholder_search=false
+
+sig_obj.INVISIBLE.verifyURL=http://www.signaturpruefung.gv.at
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE.properties
new file mode 100644
index 0000000..1c35d25
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE.properties
@@ -0,0 +1,155 @@
+sig_obj.type.default=SIGNATURBLOCK_DE
+
+
+###################################################################################################
+# PROFIL: Signaturblock (Deutsch) mit neuem Layout
+
+# Kurzbeschreibung
+sig_obj.SIGNATURBLOCK_DE.description=Standardsignatur Deutsch mit neuem Layout
+
+# Aktiviert ("on") bzw. deaktiviert ("off") dieses Profil.
+# "verify_only" beschraenkt das Profil auf Signaturpruefung, d.h. es kann nicht zum Erstellen von
+# Signaturen verwendet werden.
+# "sign_only" beschraenkt das Profil insofern, dass es nur noch zum Signieren, nicht aber
+# zum Pruefen verwendet werden kann.
+sig_obj.types.SIGNATURBLOCK_DE=on
+
+# Festlegung der einzelner Bezeichnungen im Signaturblock.
+sig_obj.SIGNATURBLOCK_DE.key.SIG_VALUE=Signaturwert
+sig_obj.SIGNATURBLOCK_DE.key.SIG_SUBJECT=Unterzeichner
+sig_obj.SIGNATURBLOCK_DE.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.SIGNATURBLOCK_DE.key.SIG_NUMBER=Serien-Nr.
+sig_obj.SIGNATURBLOCK_DE.key.SIG_KZ=Methode
+sig_obj.SIGNATURBLOCK_DE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_DE.key.SIG_META=Pr\u00fcfinformation
+sig_obj.SIGNATURBLOCK_DE.key.SIG_DATE=Datum/Zeit-UTC
+
+
+# Festlegung des Unterzeichnernamens.
+# Es moeglich, den Namen des Signators dynamisch aus Informationen des verwendeten Zertifikats
+# zusammenzusetzen. Konkret kann auf die einzelnen RDN Teile des Issuer DN und des Subject DN
+# des Signaturzertifikats wie im folgenden Beispiel illustriert zugegriffen werden:
+#
+# (1) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.CN}${subject.O != null ? ("\n" + subject.O) : ""}
+# (2) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.T \!\= null ? (subject.T + " ") \: ""}${subject.CN}
+#
+# Beispiel (1) gibt die Organisation des Unterzeichners an, Beispiel (2) Titel und Name.
+#
+# Die Notation ${..} ermoeglicht die dynamische Auswertung eines Ausdrucks. Verfuegbar sind "subject"
+# und "issuer" und die im Zertifikat-DN vorhandenen RDNs.
+#
+# Achtung:
+# Fuer die binaere Signatur muss die maximale Anzahl zu erwartender Zeichen in der globalen Einstellung
+# defaults.phlength.SIG_SUBJECT=...
+# bzw. profileweise via
+# sig_obj.PROFIL.phlength.SIG_SUBJECT=...
+# festgelegt werden.
+sig_obj.SIGNATURBLOCK_DE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+
+## Profilspezifische Festlegung der Position des Signaturblocks
+#
+# sig_obj.PROFILE.pos=[p:["auto"|"new"|pagenumber];][x:["auto"|floatvalue];][y:["auto"|floatvalue];][w:["auto"|width_floatvalue];][f:footerheight_floatvalue]
+# z.B.
+# sig_obj.PROFILE.pos=p:1;x:40.0;y:800.0;w:400.0;f:80
+sig_obj.SIGNATURBLOCK_DE.pos=f:80
+
+# Name der Signatur.
+sig_obj.SIGNATURBLOCK_DE.adobeSignFieldValue=PDF-AS Signatur
+
+# Text, der im Adobe Reader unter "Reason" angezeigt wird.
+sig_obj.SIGNATURBLOCK_DE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+
+# URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin.
+sig_obj.SIGNATURBLOCK_DE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+# Pruefhinweis im Signaturblock
+sig_obj.SIGNATURBLOCK_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+
+# Signaturlogo im Signaturblock
+sig_obj.SIGNATURBLOCK_DE.value.SIG_LABEL=./images/signatur-logo_de.png
+
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_DE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_DE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_DE.table.main.4=SIG_DATE-cv
+
+
+sig_obj.SIGNATURBLOCK_DE.table.main.ColsWidth=1 6
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.border=0.1
+
+
+## Horizontale Ausrichtung der Eintraege im Signaturblock.
+#
+# sig_obj.PROFILE.table.TABLE_NAME.Style.halign=[left|center|right]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.valuehalign=[left|center|right]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.imagehalign=[left|center|right]
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.halign=center
+
+
+## Vertikale Ausrichtung der Eintraege im Signaturblock.
+#
+# sig_obj.PROFILE.table.TABLE_NAME.Style.valign=[bottom|middle|top]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.valuevalign=[bottom|middle|top]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.imagevalign=[bottom|middle|top]
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.imagevalign=middle
+
+
+## Schriftart
+#
+# sig_obj.PROFIL.table.TABLE_NAME.Style.font=FACE,WEIGHT,STYLE
+# Setzt die Schriftart fuer die gesamte Tabelle TABLE_NAME.
+#
+# sig_obj.PROFIL.table.TABLE_NAME.Style.valuefont=FACE,WEIGHT,STYLE
+# Setzt die Schriftart ausschliesslich fuer die Werte-Zellen der Tabelle TABLE_NAME.
+#
+# FACE: HELVETICA | TIMES_ROMAN | COURIER
+# WEIGHT: float value
+# STYLE: NORMAL | BOLD | ITALIC | BOLDITALIC | UNDERLINE | STRIKETHRU
+#
+# z.B. sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL
+
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE.table.info.ColsWidth=1 4
+sig_obj.SIGNATURBLOCK_DE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_DE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_DE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_DE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_DE.table.info.5=SIG_ID-cv
+
+
+## Signaturkennzeichnung (fuer Adobe Acrobat)
+#
+# Ein-/Ausschalten der Signaturkennung:
+# sig_obj.PROFILE.adobeSignEnabled=true|false (default: true)
+#
+# Name fuer die Signaturkennzeichnung (binaer)
+# sig_obj.PROFILE.adobeSignText.binary=PDF-AS
+#
+# Name fuer die Signaturkennzeichnung (binaer)
+# sig_obj.PROFILE.adobeSignText.textual=PDF-AS
+#
+# Name fuer die PDF-Signatur
+# sig_obj.PROFILE.adobeSignFieldValue=PDF-AS Signatur
+#
+# "Reason"-Feld der jeweiligen Signatur
+# sig_obj.PROFILE.adobeSignReasonValue=Informationen zur Pr\u00FCfung finden Sie unter http://www.signaturpruefung.gv.at
+#
+# Prueflink fuer die Adobe Signaturkennzeichnung (nur relevant falls Adobe Plugin fuer Pruefung verwendet wird)
+# sig_obj.PROFILE.verifyURL=http://www.signaturpruefung.gv.at
+#
+# Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung)
+# sig_obj.PROFILE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_DEPRECATED.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_DEPRECATED.properties
new file mode 100644
index 0000000..d744d0b
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_DEPRECATED.properties
@@ -0,0 +1,53 @@
+###################################################################################################
+# PROFIL: Signaturblock (Deutsch)
+
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.description=Standardsignatur Deutsch
+
+sig_obj.types.SIGNATURBLOCK_DE_DEPRECATED=on
+
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_VALUE=Signaturwert
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_SUBJECT=Unterzeichner
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_DATE=Datum/Zeit-UTC
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_NUMBER=Serien-Nr.
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_KZ=Methode
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.key.SIG_META=Pr\u00fcfinformation
+
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.pos=f:80
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.adobeSignReasonValue=Informationen zur Pr\u00fcfung finden Sie unter http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.value.SIG_LABEL=./images/signatur-logo_de.png
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.3=SIG_META-cv
+
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.ColsWidth=1 6
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.valign=middle
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.info.ColsWidth=1 4
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.info.2=SIG_DATE-cv
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.info.3=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.info.4=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.info.5=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_DE_DEPRECATED.table.info.6=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties
new file mode 100644
index 0000000..9843a41
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties
@@ -0,0 +1,60 @@
+###################################################################################################
+# PROFIL: Signaturblock (Deutsch) mit neuem Layout und Hinweistext
+
+sig_obj.SIGNATURBLOCK_DE_NOTE.description=Standardsignatur Deutsch mit neuem Layout
+
+sig_obj.types.SIGNATURBLOCK_DE_NOTE=on
+
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_VALUE=Signaturwert
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_SUBJECT=Unterzeichner
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_NUMBER=Serien-Nr.
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_KZ=Methode
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_META=Pr\u00fcfinformation
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_NOTE=Hinweis
+sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_DATE=Datum/Zeit-UTC
+
+
+
+sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_DE_NOTE.pos=f:80
+sig_obj.SIGNATURBLOCK_DE_NOTE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.SIGNATURBLOCK_DE_NOTE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_NOTE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_DE_NOTE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_NOTE=Dieses mit einer qualifizierten elektronischen Signatur versehene Dokument ist gem\u00e4\u00df \u00a7\u00A04 Abs.\u00A01 Signaturgesetz einem handschriftlich unterschriebenen Dokument grunds\u00e4tzlich rechtlich gleichgestellt.
+
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.4=SIG_NOTE-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.5=SIG_DATE-cv
+
+
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.ColsWidth=1 6
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.ColsWidth=1 4
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties
new file mode 100644
index 0000000..bf67fe5
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties
@@ -0,0 +1,57 @@
+###################################################################################################
+# PROFIL: Signaturblock (Deutsch), PDF/A-1b
+
+sig_obj.SIGNATURBLOCK_DE_PDFA.description=Standardsignatur Deutsch, PDF/A-1b
+
+sig_obj.types.SIGNATURBLOCK_DE_PDFA=on
+
+# enable/disable PDF/A1b support for this profile
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_PDFA1B_VALID=true
+
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_VALUE=Signaturwert
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_SUBJECT=Unterzeichner
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_NUMBER=Serien-Nr.
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_KZ=Methode
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_META=Pr\u00fcfinformation
+sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_DATE=Datum/Zeit-UTC
+
+
+sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_DE_PDFA.pos=f:80
+sig_obj.SIGNATURBLOCK_DE_PDFA.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.SIGNATURBLOCK_DE_PDFA.adobeSignReasonValue=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_PDFA.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_DE_PDFA.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_LABEL=./images/signatur-logo_de.png
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.4=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.ColsWidth=1 5.5
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.ColsWidth=1 3.5
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties
new file mode 100644
index 0000000..d204e09
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties
@@ -0,0 +1,60 @@
+###################################################################################################
+# PROFIL: Signaturblock (Deutsch), PDF/A-1b und mit Hinweistext
+
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.description=Standardsignatur Deutsch, PDF/A-1b
+
+sig_obj.types.SIGNATURBLOCK_DE_PDFA_NOTE=on
+
+# enable/disable PDF/A1b support for this profile
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_PDFA1B_VALID=true
+
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_VALUE=Signaturwert
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_SUBJECT=Unterzeichner
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_NUMBER=Serien-Nr.
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_KZ=Methode
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_META=Pr\u00fcfinformation
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_NOTE=Hinweis
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_DATE=Datum/Zeit-UTC
+
+
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.pos=f:80
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.adobeSignReasonValue=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_NOTE=Dieses mit einer qualifizierten elektronischen Signatur versehene Dokument ist gem\u00e4\u00df \u00a7\u00A04 Abs.\u00A01 Signaturgesetz einem handschriftlich unterschriebenen Dokument grunds\u00e4tzlich rechtlich gleichgestellt.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.4=SIG_NOTE-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.5=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.ColsWidth=1 5.5
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.ColsWidth=1 3.5
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN.properties
new file mode 100644
index 0000000..db68fb6
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN.properties
@@ -0,0 +1,54 @@
+###################################################################################################
+# PROFIL: Signaturblock (Englisch) mit neuem Layout
+
+sig_obj.SIGNATURBLOCK_EN.description=Standardsignatur Englisch mit neuem Layout
+
+sig_obj.types.SIGNATURBLOCK_EN=on
+
+sig_obj.SIGNATURBLOCK_EN.key.SIG_VALUE=Signature Value
+sig_obj.SIGNATURBLOCK_EN.key.SIG_SUBJECT=Signatory
+sig_obj.SIGNATURBLOCK_EN.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.SIGNATURBLOCK_EN.key.SIG_NUMBER=Serial-No.
+sig_obj.SIGNATURBLOCK_EN.key.SIG_KZ=Method
+sig_obj.SIGNATURBLOCK_EN.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_EN.key.SIG_META=Verification
+sig_obj.SIGNATURBLOCK_EN.key.SIG_DATE=Date/Time-UTC
+
+sig_obj.SIGNATURBLOCK_EN.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_EN.pos=f:80
+sig_obj.SIGNATURBLOCK_EN.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_EN.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_EN.sigLogoAltText=A standard signature logo is shown.
+
+sig_obj.SIGNATURBLOCK_EN.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN.value.SIG_LABEL=./images/signatur-logo_en.png
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_EN.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_EN.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_EN.table.main.4=SIG_DATE-cv
+
+
+sig_obj.SIGNATURBLOCK_EN.table.main.ColsWidth=1 6
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.SIGNATURBLOCK_EN.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN.table.info.ColsWidth=1 5
+sig_obj.SIGNATURBLOCK_EN.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_EN.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_EN.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_EN.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_EN.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_DEPRECATED.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_DEPRECATED.properties
new file mode 100644
index 0000000..e4d688c
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_DEPRECATED.properties
@@ -0,0 +1,53 @@
+###################################################################################################
+# PROFIL: Signaturblock (Englisch)
+
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.description=Standardsignatur Englisch
+
+sig_obj.types.SIGNATURBLOCK_EN_DEPRECATED=on
+
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_VALUE=Signature Value
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_SUBJECT=Signatory
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_DATE=Date/Time-UTC
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_NUMBER=Serial-No.
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_KZ=Method
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.key.SIG_META=Verification
+
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.pos=f:80
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.adobeSignReasonValue=Information about the verification can be found at http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.sigLogoAltText=A standard signature logo is shown.
+
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.value.SIG_LABEL=./images/signatur-logo_en.png
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.3=SIG_META-cv
+
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.ColsWidth=1 6
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.valign=middle
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.info.ColsWidth=1 5
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.info.2=SIG_DATE-cv
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.info.3=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.info.4=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.info.5=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_EN_DEPRECATED.table.info.6=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties
new file mode 100644
index 0000000..cf5dd17
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties
@@ -0,0 +1,58 @@
+###################################################################################################
+# PROFIL: Signaturblock (Englisch) mit neuem Layout und Hinweistext
+
+sig_obj.SIGNATURBLOCK_EN_NOTE.description=Standardsignatur Englisch mit neuem Layout
+
+sig_obj.types.SIGNATURBLOCK_EN_NOTE=on
+
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_VALUE=Signature Value
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_SUBJECT=Signatory
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_NUMBER=Serial-No.
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_KZ=Method
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_META=Verification
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_NOTE=Note
+sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_DATE=Date/Time-UTC
+
+sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_EN_NOTE.pos=f:80
+sig_obj.SIGNATURBLOCK_EN_NOTE.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_EN_NOTE.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_NOTE.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_EN_NOTE.sigLogoAltText=A standard signature logo is shown.
+
+sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_LABEL=./images/signatur-logo_en.png
+sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
+
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.4=SIG_NOTE-cv
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.5=SIG_DATE-cv
+
+
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.ColsWidth=1 6
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.ColsWidth=1 5
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties
new file mode 100644
index 0000000..0541fdb
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties
@@ -0,0 +1,57 @@
+###################################################################################################
+# PROFIL: Signaturblock (Englisch), PDF/A-1b
+
+sig_obj.SIGNATURBLOCK_EN_PDFA.description=Standardsignatur Englisch, PDF/A-1b
+
+sig_obj.types.SIGNATURBLOCK_EN_PDFA=on
+
+# enable/disable PDF/A1b support for this profile
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_PDFA1B_VALID=true
+
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_VALUE=Signature Value
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_SUBJECT=Signatory
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_NUMBER=Serial-No.
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_KZ=Method
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_META=Verification
+sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_DATE=Date/Time-UTC
+
+
+sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_EN_PDFA.pos=f:80
+sig_obj.SIGNATURBLOCK_EN_PDFA.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_EN_PDFA.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_PDFA.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_EN_PDFA.sigLogoAltText=A standard signature logo is shown.
+
+sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_LABEL=./images/signatur-logo_en.png
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.4=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.ColsWidth=1 5.5
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.ColsWidth=1 4.5
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties
new file mode 100644
index 0000000..840fdf5
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties
@@ -0,0 +1,60 @@
+###################################################################################################
+# PROFIL: Signaturblock (Englisch), PDF/A-1b und mit Hinweistext
+
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.description=Standardsignatur Englisch, PDF/A-1b
+
+sig_obj.types.SIGNATURBLOCK_EN_PDFA_NOTE=on
+
+# enable/disable PDF/A1b support for this profile
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_PDFA1B_VALID=true
+
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_VALUE=Signature Value
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_SUBJECT=Signatory
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_NUMBER=Serial-No.
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_KZ=Method
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_META=Verification
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_NOTE=Note
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_DATE=Date/Time-UTC
+
+
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.pos=f:80
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.sigLogoAltText=A standard signature logo is shown.
+
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_LABEL=./images/signatur-logo_en.png
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.4=SIG_NOTE-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.5=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.ColsWidth=1 5.5
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.ColsWidth=1 4.5
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties
new file mode 100644
index 0000000..6ed88e9
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties
@@ -0,0 +1,33 @@
+###################################################################################################
+# PROFIL: minimaler Signaturblock (Deutsch)
+
+sig_obj.types.SIGNATURBLOCK_MINIMAL_DE=on
+
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.description=minimale Standardsignatur Deutsch
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.key.SIG_META=Pr\u00fcfinformation
+
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.pos=w:230.0;f:80
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.verifyURL=http://www.signaturpruefung.gv.at
+
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.imagescaletofit=65.0;65.0
+
+# WAI
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.1=SIG_LABEL-i
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.2=SIG_META-v
+
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.ColsWidth=1
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.border=0
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.valign=middle
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.font=HELVETICA,9,NORMAL
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.valuefont=HELVETICA,9,NORMAL
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties
new file mode 100644
index 0000000..6a6374b
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties
@@ -0,0 +1,33 @@
+###################################################################################################
+# PROFIL: minimaler Signaturblock (Englisch)
+
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.description=minimale Standardsignatur Englisch
+
+sig_obj.types.SIGNATURBLOCK_MINIMAL_EN=on
+
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.key.SIG_META=Verification
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.pos=w:230.0;f:80
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.adobeSignReasonValue=Information about the verification can be found at http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.verifyURL=http://www.signature-verification.gv.at
+
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.imagescaletofit=65.0;65.0
+
+# WAI
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.sigLogoAltText=A standard signature logo is shown.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.1=SIG_LABEL-i
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.2=SIG_META-v
+
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.ColsWidth=1
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.padding=4
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.border=0
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.valign=middle
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.font=HELVETICA,9,NORMAL
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.valuefont=HELVETICA,9,NORMAL
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties
new file mode 100644
index 0000000..78e7a8a
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties
@@ -0,0 +1,54 @@
+###################################################################################################
+# PROFIL: Signaturblock klein (Deutsch)
+
+sig_obj.SIGNATURBLOCK_SMALL_DE.description=Standardsignatur klein Deutsch
+
+sig_obj.types.SIGNATURBLOCK_SMALL_DE=on
+
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_VALUE=Signaturwert
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_SUBJECT=Unterzeichner
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_NUMBER=Serien-Nr.
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_KZ=Methode
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_META=Pr\u00fcfinformation
+sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_DATE=Datum/Zeit-UTC
+
+
+sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_SMALL_DE.pos=f:80;w:230
+sig_obj.SIGNATURBLOCK_SMALL_DE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.SIGNATURBLOCK_SMALL_DE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_DE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_SMALL_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_LABEL=./images/signatur-logo_de.png
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.4=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.ColsWidth=1 4.5
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.padding=2
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.font=HELVETICA,5,BOLD
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.valuefont=COURIER,5,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.ColsWidth=1 2.7
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties
new file mode 100644
index 0000000..9373353
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties
@@ -0,0 +1,57 @@
+###################################################################################################
+# PROFIL: Signaturblock klein (Deutsch) mit Hinweistext
+
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.description=Standardsignatur klein Deutsch
+
+sig_obj.types.SIGNATURBLOCK_SMALL_DE_NOTE=on
+
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_VALUE=Signaturwert
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_SUBJECT=Unterzeichner
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_NUMBER=Serien-Nr.
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_KZ=Methode
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_META=Pr\u00fcfinformation
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_NOTE=Hinweis
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_DATE=Datum/Zeit-UTC
+
+
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.pos=f:80;w:230
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_NOTE=Dieses mit einer qualifizierten elektronischen Signatur versehene Dokument ist gem\u00e4\u00df \u00a7\u00A04 Abs.\u00A01 Signaturgesetz einem handschriftlich unterschriebenen Dokument grunds\u00e4tzlich rechtlich gleichgestellt.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.4=SIG_NOTE-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.5=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.ColsWidth=1 4.5
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.padding=2
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.font=HELVETICA,5,BOLD
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.valuefont=COURIER,5,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.ColsWidth=1 2.7
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties
new file mode 100644
index 0000000..4dbfbed
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties
@@ -0,0 +1,54 @@
+###################################################################################################
+# PROFIL: Signaturblock Small (Englisch)
+
+sig_obj.SIGNATURBLOCK_SMALL_EN.description=Standardsignatur klein Englisch
+
+sig_obj.types.SIGNATURBLOCK_SMALL_EN=on
+
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_VALUE=Signature Value
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_SUBJECT=Signatory
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_NUMBER=Serial-No.
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_KZ=Method
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_META=Verification
+sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_DATE=Date/Time-UTC
+
+
+sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_SMALL_EN.pos=f:80;w:260
+sig_obj.SIGNATURBLOCK_SMALL_EN.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_SMALL_EN.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_EN.verifyURL=http://www.signature-verification.gv.at
+
+sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_LABEL=./images/signatur-logo_en.png
+
+# WAI
+sig_obj.SIGNATURBLOCK_SMALL_EN.sigLogoAltText=A standard signature logo is shown.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.4=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.ColsWidth=1 4.5
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.padding=2
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.font=HELVETICA,5,BOLD
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.valuefont=COURIER,5,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.ColsWidth=1 3.2
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties
new file mode 100644
index 0000000..4824f4b
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties
@@ -0,0 +1,57 @@
+###################################################################################################
+# PROFIL: Signaturblock Small (Englisch) mit Hinweistext
+
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.description=Standardsignatur klein Englisch
+
+sig_obj.types.SIGNATURBLOCK_SMALL_EN_NOTE=on
+
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_VALUE=Signature Value
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_SUBJECT=Signatory
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_NUMBER=Serial-No.
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_KZ=Method
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_ID=Parameter
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_META=Verification
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_NOTE=Note
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_DATE=Date/Time-UTC
+
+
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.pos=f:80;w:260
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.adobeSignFieldValue=PDF-AS Signature
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.verifyURL=http://www.signature-verification.gv.at
+
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_META=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_LABEL=./images/signatur-logo_en.png
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
+
+# WAI
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.sigLogoAltText=A standard signature logo is shown.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.1=SIG_VALUE-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.4=SIG_NOTE-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.5=SIG_DATE-cv
+
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.ColsWidth=1 4.5
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.bgcolor=255 255 255
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.padding=2
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.border=0.1
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.halign=center
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.valuehalign=left
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.valign=top
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.imagevalign=middle
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.font=HELVETICA,5,BOLD
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.valuefont=COURIER,5,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.ColsWidth=1 3.2
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.1=SIG_SUBJECT-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.2=SIG_ISSUER-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.3=SIG_NUMBER-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.4=SIG_KZ-cv
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/VARIABLER_AMTSSIGNATURBLOCK_DE.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/VARIABLER_AMTSSIGNATURBLOCK_DE.properties
new file mode 100644
index 0000000..cf7d72e
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/profiles/VARIABLER_AMTSSIGNATURBLOCK_DE.properties
@@ -0,0 +1,62 @@
+###################################################################################################
+# PROFIL: Zusaetzlicher Amtssignaturblock (Deutsch) mit neuem Layout
+# Unterzeichner Musteramt
+
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.description=Variabler Amtssignaturblock-Deutsch, neues Layout
+
+sig_obj.types.VARIABLER_AMTSSIGNATURBLOCK_DE=on
+
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_VALUE=Signaturwert
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_SUBJECT=Unterzeichner
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_NUMBER=Serien-Nr.
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_KZ=Methode
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_ID=Parameter
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_META=Pr\u00fcfinformation
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_NOTE=Hinweis
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.key.SIG_DATE=Datum/Zeit-UTC
+
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.phlength.SIG_SUBJECT=200
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.phlength.SIG_ISSUER=130
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.phlength.SIG_NUMBER=30
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.phlength.SIG_ID=30
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.value.SIG_SUBJECT=F\u00fcr die Richtigkeit der Ausfertigung:\nMusteramt\nMusterstadt
+#sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.moa.sign.KeyIdentifier=MusteramtatrustKey
+
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.pos=f:80
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.adobeSignReasonValue=Informationen zur Pr\u00fcfung finden Sie unter http://www.signaturpruefung.gv.at
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.value.SIG_META=Informationen zur Pr\u00fcfung der elektronischen Signatur finden Sie unter: http://www.signaturpruefung.gv.at\nInformationen zur Pr\u00fcfung des Ausdrucks finden Sie unter: http://musteramt.musterstadt.gv.at
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00a7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.1=SIG_VALUE-cv
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.2=SIG_LABEL-i|TABLE-info
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.3=SIG_META-cv
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.4=SIG_NOTE-cv
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.5=SIG_DATE-cv
+
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.ColsWidth=1 6
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.bgcolor=255 255 255
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.padding=4
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.border=0.1
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.halign=center
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.valuehalign=left
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.valign=top
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.imagevalign=middle
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.info.ColsWidth=1 4
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.info.1=SIG_SUBJECT-cv
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.info.2=SIG_ISSUER-cv
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.info.3=SIG_NUMBER-cv
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.info.4=SIG_KZ-cv
+sig_obj.VARIABLER_AMTSSIGNATURBLOCK_DE.table.info.5=SIG_ID-cv
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Bold.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Bold.ttf
new file mode 100644
index 0000000..29da136
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Bold.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-BoldOblique.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-BoldOblique.ttf
new file mode 100644
index 0000000..6f33950
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-BoldOblique.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-ExtraLight.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-ExtraLight.ttf
new file mode 100644
index 0000000..1dd8ada
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-ExtraLight.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Oblique.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Oblique.ttf
new file mode 100644
index 0000000..1de61c4
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans-Oblique.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans.ttf
new file mode 100644
index 0000000..e0699fe
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSans.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Bold.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Bold.ttf
new file mode 100644
index 0000000..2364a47
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Bold.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-BoldOblique.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-BoldOblique.ttf
new file mode 100644
index 0000000..20574db
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-BoldOblique.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Oblique.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Oblique.ttf
new file mode 100644
index 0000000..801105b
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed-Oblique.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed.ttf
new file mode 100644
index 0000000..94a9b01
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansCondensed.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Bold.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Bold.ttf
new file mode 100644
index 0000000..1b63cee
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Bold.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-BoldOblique.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-BoldOblique.ttf
new file mode 100644
index 0000000..7ca996b
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-BoldOblique.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Oblique.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Oblique.ttf
new file mode 100644
index 0000000..6c9beec
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono-Oblique.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono.ttf
new file mode 100644
index 0000000..a96ac6f
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSansMono.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Bold.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Bold.ttf
new file mode 100644
index 0000000..674ad7a
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Bold.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-BoldItalic.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-BoldItalic.ttf
new file mode 100644
index 0000000..d5b0d83
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-BoldItalic.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Italic.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Italic.ttf
new file mode 100644
index 0000000..067b9cb
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif-Italic.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif.ttf
new file mode 100644
index 0000000..5cfc558
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerif.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Bold.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Bold.ttf
new file mode 100644
index 0000000..322e73b
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Bold.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-BoldItalic.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-BoldItalic.ttf
new file mode 100644
index 0000000..ef106cb
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-BoldItalic.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Italic.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Italic.ttf
new file mode 100644
index 0000000..23bff33
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed-Italic.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed.ttf b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed.ttf
new file mode 100644
index 0000000..aa15352
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/fonts/DejaVuSerifCondensed.ttf
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Archiv.gif b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Archiv.gif
new file mode 100644
index 0000000..3f2e6cf
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Archiv.gif
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Urkunde.gif b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Urkunde.gif
new file mode 100644
index 0000000..502a0c4
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/Baik_Urkunde.gif
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de.png b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de.png
new file mode 100644
index 0000000..988c079
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de.png
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de_highest_resolution.png b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de_highest_resolution.png
new file mode 100644
index 0000000..c9a2da9
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_de_highest_resolution.png
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en.png b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en.png
new file mode 100644
index 0000000..682d383
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en.png
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en_highest_resolution.png b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en_highest_resolution.png
new file mode 100644
index 0000000..59a0feb
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/images/signatur-logo_en_highest_resolution.png
Binary files differ
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/adobe/AFM_License.html b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/adobe/AFM_License.html
new file mode 100644
index 0000000..d4d7e8a
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/adobe/AFM_License.html
@@ -0,0 +1 @@
+<html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="Adobe GoLive 4"> <title>Core 14 AFM Files - ReadMe</title> </head> <body bgcolor="white"> <font color="white">or</font> <table border="0" cellpadding="0" cellspacing="2"> <tr> <td width="40"></td> <td width="300">This file and the 14 PostScript(R) AFM files it accompanies may be used, copied, and distributed for any purpose and without charge, with or without modification, provided that all copyright notices are retained; that the AFM files are not distributed without this file; that all modifications to this file or any of the AFM files are prominently noted in the modified file(s); and that this paragraph is not modified. Adobe Systems has no responsibility or obligation to support the use of the AFM files. <font color="white">Col</font></td> </tr> </table> </body> </html> \ No newline at end of file
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE
new file mode 100644
index 0000000..8b5861d
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE
@@ -0,0 +1,203 @@
+/*
+ * Apache License
+ * Version 2.0, January 2004
+ * http://www.apache.org/licenses/
+ *
+ * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+ *
+ * 1. Definitions.
+ *
+ * "License" shall mean the terms and conditions for use, reproduction,
+ * and distribution as defined by Sections 1 through 9 of this document.
+ *
+ * "Licensor" shall mean the copyright owner or entity authorized by
+ * the copyright owner that is granting the License.
+ *
+ * "Legal Entity" shall mean the union of the acting entity and all
+ * other entities that control, are controlled by, or are under common
+ * control with that entity. For the purposes of this definition,
+ * "control" means (i) the power, direct or indirect, to cause the
+ * direction or management of such entity, whether by contract or
+ * otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ * outstanding shares, or (iii) beneficial ownership of such entity.
+ *
+ * "You" (or "Your") shall mean an individual or Legal Entity
+ * exercising permissions granted by this License.
+ *
+ * "Source" form shall mean the preferred form for making modifications,
+ * including but not limited to software source code, documentation
+ * source, and configuration files.
+ *
+ * "Object" form shall mean any form resulting from mechanical
+ * transformation or translation of a Source form, including but
+ * not limited to compiled object code, generated documentation,
+ * and conversions to other media types.
+ *
+ * "Work" shall mean the work of authorship, whether in Source or
+ * Object form, made available under the License, as indicated by a
+ * copyright notice that is included in or attached to the work
+ * (an example is provided in the Appendix below).
+ *
+ * "Derivative Works" shall mean any work, whether in Source or Object
+ * form, that is based on (or derived from) the Work and for which the
+ * editorial revisions, annotations, elaborations, or other modifications
+ * represent, as a whole, an original work of authorship. For the purposes
+ * of this License, Derivative Works shall not include works that remain
+ * separable from, or merely link (or bind by name) to the interfaces of,
+ * the Work and Derivative Works thereof.
+ *
+ * "Contribution" shall mean any work of authorship, including
+ * the original version of the Work and any modifications or additions
+ * to that Work or Derivative Works thereof, that is intentionally
+ * submitted to Licensor for inclusion in the Work by the copyright owner
+ * or by an individual or Legal Entity authorized to submit on behalf of
+ * the copyright owner. For the purposes of this definition, "submitted"
+ * means any form of electronic, verbal, or written communication sent
+ * to the Licensor or its representatives, including but not limited to
+ * communication on electronic mailing lists, source code control systems,
+ * and issue tracking systems that are managed by, or on behalf of, the
+ * Licensor for the purpose of discussing and improving the Work, but
+ * excluding communication that is conspicuously marked or otherwise
+ * designated in writing by the copyright owner as "Not a Contribution."
+ *
+ * "Contributor" shall mean Licensor and any individual or Legal Entity
+ * on behalf of whom a Contribution has been received by Licensor and
+ * subsequently incorporated within the Work.
+ *
+ * 2. Grant of Copyright License. Subject to the terms and conditions of
+ * this License, each Contributor hereby grants to You a perpetual,
+ * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ * copyright license to reproduce, prepare Derivative Works of,
+ * publicly display, publicly perform, sublicense, and distribute the
+ * Work and such Derivative Works in Source or Object form.
+ *
+ * 3. Grant of Patent License. Subject to the terms and conditions of
+ * this License, each Contributor hereby grants to You a perpetual,
+ * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ * (except as stated in this section) patent license to make, have made,
+ * use, offer to sell, sell, import, and otherwise transfer the Work,
+ * where such license applies only to those patent claims licensable
+ * by such Contributor that are necessarily infringed by their
+ * Contribution(s) alone or by combination of their Contribution(s)
+ * with the Work to which such Contribution(s) was submitted. If You
+ * institute patent litigation against any entity (including a
+ * cross-claim or counterclaim in a lawsuit) alleging that the Work
+ * or a Contribution incorporated within the Work constitutes direct
+ * or contributory patent infringement, then any patent licenses
+ * granted to You under this License for that Work shall terminate
+ * as of the date such litigation is filed.
+ *
+ * 4. Redistribution. You may reproduce and distribute copies of the
+ * Work or Derivative Works thereof in any medium, with or without
+ * modifications, and in Source or Object form, provided that You
+ * meet the following conditions:
+ *
+ * (a) You must give any other recipients of the Work or
+ * Derivative Works a copy of this License; and
+ *
+ * (b) You must cause any modified files to carry prominent notices
+ * stating that You changed the files; and
+ *
+ * (c) You must retain, in the Source form of any Derivative Works
+ * that You distribute, all copyright, patent, trademark, and
+ * attribution notices from the Source form of the Work,
+ * excluding those notices that do not pertain to any part of
+ * the Derivative Works; and
+ *
+ * (d) If the Work includes a "NOTICE" text file as part of its
+ * distribution, then any Derivative Works that You distribute must
+ * include a readable copy of the attribution notices contained
+ * within such NOTICE file, excluding those notices that do not
+ * pertain to any part of the Derivative Works, in at least one
+ * of the following places: within a NOTICE text file distributed
+ * as part of the Derivative Works; within the Source form or
+ * documentation, if provided along with the Derivative Works; or,
+ * within a display generated by the Derivative Works, if and
+ * wherever such third-party notices normally appear. The contents
+ * of the NOTICE file are for informational purposes only and
+ * do not modify the License. You may add Your own attribution
+ * notices within Derivative Works that You distribute, alongside
+ * or as an addendum to the NOTICE text from the Work, provided
+ * that such additional attribution notices cannot be construed
+ * as modifying the License.
+ *
+ * You may add Your own copyright statement to Your modifications and
+ * may provide additional or different license terms and conditions
+ * for use, reproduction, or distribution of Your modifications, or
+ * for any such Derivative Works as a whole, provided Your use,
+ * reproduction, and distribution of the Work otherwise complies with
+ * the conditions stated in this License.
+ *
+ * 5. Submission of Contributions. Unless You explicitly state otherwise,
+ * any Contribution intentionally submitted for inclusion in the Work
+ * by You to the Licensor shall be under the terms and conditions of
+ * this License, without any additional terms or conditions.
+ * Notwithstanding the above, nothing herein shall supersede or modify
+ * the terms of any separate license agreement you may have executed
+ * with Licensor regarding such Contributions.
+ *
+ * 6. Trademarks. This License does not grant permission to use the trade
+ * names, trademarks, service marks, or product names of the Licensor,
+ * except as required for reasonable and customary use in describing the
+ * origin of the Work and reproducing the content of the NOTICE file.
+ *
+ * 7. Disclaimer of Warranty. Unless required by applicable law or
+ * agreed to in writing, Licensor provides the Work (and each
+ * Contributor provides its Contributions) on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied, including, without limitation, any warranties or conditions
+ * of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ * PARTICULAR PURPOSE. You are solely responsible for determining the
+ * appropriateness of using or redistributing the Work and assume any
+ * risks associated with Your exercise of permissions under this License.
+ *
+ * 8. Limitation of Liability. In no event and under no legal theory,
+ * whether in tort (including negligence), contract, or otherwise,
+ * unless required by applicable law (such as deliberate and grossly
+ * negligent acts) or agreed to in writing, shall any Contributor be
+ * liable to You for damages, including any direct, indirect, special,
+ * incidental, or consequential damages of any character arising as a
+ * result of this License or out of the use or inability to use the
+ * Work (including but not limited to damages for loss of goodwill,
+ * work stoppage, computer failure or malfunction, or any and all
+ * other commercial damages or losses), even if such Contributor
+ * has been advised of the possibility of such damages.
+ *
+ * 9. Accepting Warranty or Additional Liability. While redistributing
+ * the Work or Derivative Works thereof, You may choose to offer,
+ * and charge a fee for, acceptance of support, warranty, indemnity,
+ * or other liability obligations and/or rights consistent with this
+ * License. However, in accepting such obligations, You may act only
+ * on Your own behalf and on Your sole responsibility, not on behalf
+ * of any other Contributor, and only if You agree to indemnify,
+ * defend, and hold each Contributor harmless for any liability
+ * incurred by, or claims asserted against, such Contributor by reason
+ * of your accepting any such warranty or additional liability.
+ *
+ * END OF TERMS AND CONDITIONS
+ *
+ * APPENDIX: How to apply the Apache License to your work.
+ *
+ * To apply the Apache License to your work, attach the following
+ * boilerplate notice, with the fields enclosed by brackets "[]"
+ * replaced with your own identifying information. (Don't include
+ * the brackets!) The text should be enclosed in the appropriate
+ * comment syntax for the file format. We also recommend that a
+ * file or class name and description of purpose be included on the
+ * same "printed page" as the copyright notice for easier
+ * identification within third-party archives.
+ *
+ * Copyright [yyyy] [name of copyright owner]
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.dom b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.dom
new file mode 100644
index 0000000..2959b70
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.dom
@@ -0,0 +1,71 @@
+This license came from:
+http://www.w3.org/Consortium/Legal/copyright-software-19980720
+
+
+W3C® SOFTWARE NOTICE AND LICENSE
+Copyright © 1994-2001 World
+Wide Web Consortium, <a href="http://www.w3.org/">World
+Wide Web Consortium</a>, (<a href=
+"http://www.lcs.mit.edu/">Massachusetts Institute of
+Technology</a>, <a href="http://www.inria.fr/">Institut National de
+Recherche en Informatique et en Automatique</a>, <a href=
+"http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.
+http://www.w3.org/Consortium/Legal/
+
+This W3C work (including software, documents, or other related
+items) is being provided by the copyright holders under the
+following license. By obtaining, using and/or copying this work,
+you (the licensee) agree that you have read, understood, and will
+comply with the following terms and conditions:
+Permission to use, copy, modify, and distribute this software
+and its documentation, with or without modification,  for any
+purpose and without fee or royalty is hereby granted, provided that
+you include the following on ALL copies of the software and
+documentation or portions thereof, including modifications, that
+you make:
+
+The full text of this NOTICE in a location viewable to users of
+the redistributed or derivative work.
+
+Any pre-existing intellectual property disclaimers, notices, or
+terms and conditions. If none exist, a short notice of the
+following form (hypertext is preferred, text is permitted) should
+be used within the body of any redistributed or derivative code:
+"Copyright © [$date-of-software] World Wide Web Consortium, (Massachusetts Institute of
+Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
+http://www.w3.org/Consortium/Legal/"
+
+Notice of any changes or modifications to the W3C files,
+including the date changes were made. (We recommend you provide
+URIs to the location from which the code is derived.)
+
+THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
+COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
+MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
+USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
+PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
+SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
+SOFTWARE OR DOCUMENTATION.
+
+The name and trademarks of copyright holders may NOT be used in
+advertising or publicity pertaining to the software without
+specific, written prior permission. Title to copyright in this
+software and any associated documentation will at all times remain
+with copyright holders.
+____________________________________
+This formulation of W3C's notice and license became active on
+August 14 1998 so as to improve compatibility with GPL. This
+version ensures that W3C software licensing terms are no more
+restrictive than GPL and consequently W3C software may be
+distributed in GPL packages. See the older formulation for the
+policy prior to this date. Please see our Copyright FAQ for common
+questions about using materials from
+our site, including specific terms and conditions for packages like
+libwww, Amaya, and Jigsaw.
+Other questions about this notice can be
+directed to site-policy@w3.org.
+
+webmaster
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.sax b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.sax
new file mode 100644
index 0000000..05bccc9
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.sax
@@ -0,0 +1,20 @@
+This license came from: http://www.megginson.com/SAX/copying.html
+ However please note future versions of SAX may be covered
+ under http://saxproject.org/?selected=pd
+
+
+This page is now out of date -- see the new SAX site at
+http://www.saxproject.org/ for more up-to-date
+releases and other information. Please change your bookmarks.
+
+
+SAX2 is Free!
+
+I hereby abandon any property rights to SAX 2.0 (the Simple API for
+XML), and release all of the SAX 2.0 source code, compiled code, and
+documentation contained in this distribution into the Public Domain.
+SAX comes with NO WARRANTY or guarantee of fitness for any
+purpose.
+
+David Megginson, david@megginson.com
+2000-05-05 \ No newline at end of file
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.xerces b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.xerces
new file mode 100644
index 0000000..28282b4
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ant/LICENSE.xerces
@@ -0,0 +1,56 @@
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.ibm.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/apache/LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/apache/LICENSE
new file mode 100644
index 0000000..75b5248
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/apache/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE
new file mode 100644
index 0000000..cbee875
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE
@@ -0,0 +1,504 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE.apache b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE.apache
new file mode 100644
index 0000000..3c0a936
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/checkstyle/LICENSE.apache
@@ -0,0 +1,60 @@
+/*
+ * $Header: /filer/cvs-repository/pdf-as/command-line/licenses/checkstyle/LICENSE.apache,v 1.1 2006/06/14 10:05:39 wlackner Exp $
+ * $Revision: 1.1 $
+ * $Date: 2006/06/14 10:05:39 $
+ *
+ * ====================================================================
+ *
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The names "The Jakarta Project", "Jakarta-Regexp", and "Apache Software
+ * Foundation" must not be used to endorse or promote products derived
+ * from this software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache"
+ * nor may "Apache" appear in their names without prior written
+ * permission of the Apache Group.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ */
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/dejavu-font/LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/dejavu-font/LICENSE
new file mode 100644
index 0000000..254e2cc
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/dejavu-font/LICENSE
@@ -0,0 +1,99 @@
+Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
+Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
+
+Bitstream Vera Fonts Copyright
+------------------------------
+
+Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
+a trademark of Bitstream, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of the fonts accompanying this license ("Fonts") and associated
+documentation files (the "Font Software"), to reproduce and distribute the
+Font Software, including without limitation the rights to use, copy, merge,
+publish, distribute, and/or sell copies of the Font Software, and to permit
+persons to whom the Font Software is furnished to do so, subject to the
+following conditions:
+
+The above copyright and trademark notices and this permission notice shall
+be included in all copies of one or more of the Font Software typefaces.
+
+The Font Software may be modified, altered, or added to, and in particular
+the designs of glyphs or characters in the Fonts may be modified and
+additional glyphs or characters may be added to the Fonts, only if the fonts
+are renamed to names not containing either the words "Bitstream" or the word
+"Vera".
+
+This License becomes null and void to the extent applicable to Fonts or Font
+Software that has been modified and is distributed under the "Bitstream
+Vera" names.
+
+The Font Software may be sold as part of a larger software package but no
+copy of one or more of the Font Software typefaces may be sold by itself.
+
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
+TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
+FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
+ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
+FONT SOFTWARE.
+
+Except as contained in this notice, the names of Gnome, the Gnome
+Foundation, and Bitstream Inc., shall not be used in advertising or
+otherwise to promote the sale, use or other dealings in this Font Software
+without prior written authorization from the Gnome Foundation or Bitstream
+Inc., respectively. For further information, contact: fonts at gnome dot
+org.
+
+Arev Fonts Copyright
+------------------------------
+
+Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the fonts accompanying this license ("Fonts") and
+associated documentation files (the "Font Software"), to reproduce
+and distribute the modifications to the Bitstream Vera Font Software,
+including without limitation the rights to use, copy, merge, publish,
+distribute, and/or sell copies of the Font Software, and to permit
+persons to whom the Font Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright and trademark notices and this permission notice
+shall be included in all copies of one or more of the Font Software
+typefaces.
+
+The Font Software may be modified, altered, or added to, and in
+particular the designs of glyphs or characters in the Fonts may be
+modified and additional glyphs or characters may be added to the
+Fonts, only if the fonts are renamed to names not containing either
+the words "Tavmjong Bah" or the word "Arev".
+
+This License becomes null and void to the extent applicable to Fonts
+or Font Software that has been modified and is distributed under the
+"Tavmjong Bah Arev" names.
+
+The Font Software may be sold as part of a larger software package but
+no copy of one or more of the Font Software typefaces may be sold by
+itself.
+
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
+TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
+
+Except as contained in this notice, the name of Tavmjong Bah shall not
+be used in advertising or otherwise to promote the sale, use or other
+dealings in this Font Software without prior written authorization
+from Tavmjong Bah. For further information, contact: tavmjong @ free
+. fr.
+
+$Id: LICENSE 2133 2007-11-28 02:46:28Z lechimp $
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/fonts/BitStream.txt b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/fonts/BitStream.txt
new file mode 100644
index 0000000..8e56be2
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/fonts/BitStream.txt
@@ -0,0 +1,17 @@
+Copyright (c) 2003 by Bitstream, Inc.
+All Rights Reserved.
+Bitstream Vera is a trademark of Bitstream, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:
+
+The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces.
+
+The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera".
+
+This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names.
+
+The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself.
+
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
+
+Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.http://www.bitstream.com \ No newline at end of file
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ikvm/LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ikvm/LICENSE
new file mode 100644
index 0000000..2fbfb21
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/ikvm/LICENSE
@@ -0,0 +1,34 @@
+IMPORTANT NOTICE
+
+ Some files in this distribution are part of GNU Classpath and have a
+ different license. This applies in particular to:
+ - IKVM.GNU.Classpath.dll
+ - some of the *.java files (see each file header for license)
+
+ See http://www.gnu.org/software/classpath/ for information on the
+ GNU Classpath license.
+
+-----------------------------------------------------------------------------
+
+ Copyright (C) 2002, 2003, 2004 Jeroen Frijters
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Jeroen Frijters
+ jeroen@frijters.net
+
+-----------------------------------------------------------------------------
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/junit/cpl-v10.html b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/junit/cpl-v10.html
new file mode 100644
index 0000000..1900994
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/junit/cpl-v10.html
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+<HEAD>
+<TITLE>Common Public License - v 1.0</TITLE>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
+
+
+<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
+<P><B></B><FONT SIZE="3"></FONT>
+<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
+<P><FONT SIZE="2">"Contribution" means:</FONT>
+
+<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
+b) in the case of each subsequent Contributor:</FONT></UL>
+
+
+<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
+
+
+<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
+
+
+<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
+
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
+<P><FONT SIZE="2"><B></B></FONT>
+<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
+
+<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+
+<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+
+<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
+<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
+
+<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
+
+
+<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
+
+
+<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
+
+
+<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
+
+
+<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
+
+
+<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
+
+
+<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
+
+<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
+
+<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
+
+
+<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
+
+<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
+<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
+<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
+<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
+<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+
+</BODY>
+
+</HTML> \ No newline at end of file
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/log4j/LICENSE.txt b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/log4j/LICENSE.txt
new file mode 100644
index 0000000..030564f
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/log4j/LICENSE.txt
@@ -0,0 +1,48 @@
+/*
+ * ============================================================================
+ * The Apache Software License, Version 1.1
+ * ============================================================================
+ *
+ * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modifica-
+ * tion, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any, must
+ * include the following acknowledgment: "This product includes software
+ * developed by the Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself, if
+ * and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "log4j" and "Apache Software Foundation" must not be used to
+ * endorse or promote products derived from this software without prior
+ * written permission. For written permission, please contact
+ * apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache", nor may
+ * "Apache" appear in their name, without prior written permission of the
+ * Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
+ * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * This software consists of voluntary contributions made by many individuals
+ * on behalf of the Apache Software Foundation. For more information on the
+ * Apache Software Foundation, please see <http://www.apache.org/>.
+ *
+ */
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/lucene/LICENSE.txt b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/lucene/LICENSE.txt
new file mode 100644
index 0000000..ad8d37e
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/lucene/LICENSE.txt
@@ -0,0 +1,15 @@
+/**
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/pdfbox/LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/pdfbox/LICENSE
new file mode 100644
index 0000000..761bc80
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/pdfbox/LICENSE
@@ -0,0 +1,25 @@
+Copyright (c) 2003-2005, www.pdfbox.org
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+3. Neither the name of pdfbox; nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/JAI-LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/JAI-LICENSE
new file mode 100644
index 0000000..c56029e
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/JAI-LICENSE
@@ -0,0 +1,283 @@
+Sun Microsystems, Inc.
+
+Binary Code License Agreement
+
+
+
+JAVA ADVANCED IMAGING API, VERSION 1.1.2
+
+
+
+READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED
+SUPPLEMENTAL LICENS E TERMS (COLLECTIVELY "AGREEMENT")
+CAREFULLY BEFORE OPENING THE SOFTW ARE MEDIA PACKAGE. BY
+OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGRE E TO THE TERMS
+OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWAR E
+ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY
+SELECTIN G THE "ACCEPT" BUTTON AT THE END OF THIS
+AGREEMENT. IF YOU DO NOT AGREE TO ALL THESE TERMS,
+PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR
+ PLACE OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS
+ ACCESSED ELECT RONICALLY, SELECT THE "DECLINE" BUTTON AT
+THE END OF THIS AGREEMENT.
+
+
+
+
+1. LICENSE TO USE. Sun grants you a non-exclusive and
+non-trans ferable license for the internal use only of the
+accompanying softwar e and documentation and any error
+corrections provided by Sun (collec tively "Software"), by
+the number of users and the class of computer hardware for
+which the corresponding fee has been paid.
+
+
+
+2. RESTRICTIONS. Software is confidential and
+copyrighted. Titl e to Software and all associated
+intellectual property rights is reta ined by Sun and/or its
+licensors. Except as specifically authorize d in any
+Supplemental License Terms, you may not make copies of
+Softw are, other than a single copy of Software for
+archival purposes. U nless enforcement is prohibited by
+applicable law, you may not modify , decompile, or reverse
+engineer Software. Licensee acknowledges t hat Software is
+not designed or intended for use in the design, const
+ruction, operation or maintenance of any nuclear facility.
+Sun Micros ystems, Inc. disclaims any express or implied
+warranty of fitness for
+ such uses. No right, title or interest in or to any
+ trademark, s ervice mark, logo or trade name of Sun or its
+licensors is granted un der this Agreement.
+
+
+
+3. LIMITED WARRANTY. Sun warrants to you that for a
+period of nin ety (90) days from the date of purchase, as
+evidenced by a copy of th e receipt, the media on which
+Software is furnished (if any) will be free of defects in
+materials and workmanship under normal use. Exc ept for
+the foregoing, Software is provided "AS IS". Your exclusiv
+e remedy and Sun's entire liability under this limited
+warranty will be at Sun's option to replace Software media
+or refund the fee paid f or Software.
+
+
+
+4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS
+AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
+REPRESENTATIONS AND WARRANTIES, IN CLUDING ANY IMPLIED
+WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTIC ULAR
+PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
+EXTENT
+ THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
+
+
+
+5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED
+BY LAW , IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
+FOR ANY LOST REVENU E, PROFIT OR DATA, OR FOR SPECIAL,
+INDIRECT, CONSEQUENTIAL, INCIDENTA L OR PUNITIVE DAMAGES,
+HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIA BILITY,
+ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE
+S OFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY
+OF SUCH DAMA GES. In no event will Sun's liability to you,
+whether in contract,
+ tort (including negligence), or otherwise, exceed the
+ amount paid by you for Software under this Agreement. The
+ foregoing limitations will apply even if the above stated
+warranty fails of its essential p urpose.
+
+
+
+6. Termination. This Agreement is effective until
+terminated. You may terminate this Agreement at any time
+by destroying all co pies of Software. This Agreement will
+terminate immediately withou t notice from Sun if you fail
+to comply with any provision of this Ag reement. Upon
+Termination, you must destroy all copies of Software
+.
+
+
+
+7. Export Regulations. All Software and technical data
+delivered und er this Agreement are subject to US export
+control laws and may be su bject to export or import
+regulations in other countries. You agre e to comply
+strictly with all such laws and regulations and acknowled
+ge that you have the responsibility to obtain such licenses
+to export , re-export, or import as may be required after
+delivery to you.
+
+
+
+8. U.S. Government Restricted Rights. If Software is
+being acqu ired by or on behalf of the U.S. Government or
+by a U.S. Government p rime contractor or subcontractor (at
+any tier), then the Government's
+ rights in Software and accompanying documentation will be
+ only as se t forth in this Agreement; this is in
+accordance with 48 CFR 227.7201
+ through 227.7202-4 (for Department of Defense (DOD)
+ acquisitions) an d with 48 CFR 2.101 and 12.212 (for
+non-DOD acquisitions).
+
+
+
+9. Governing Law. Any action related to this Agreement
+will be governed by California law and controlling U.S.
+federal law. No ch oice of law rules of any jurisdiction
+will apply.
+
+
+
+10. Severability. If any provision of this Agreement is
+held to be un enforceable, this Agreement will remain in
+effect with the provision omitted, unless omission would
+frustrate the intent of the parties, i n which case this
+Agreement will immediately terminate.
+
+
+
+11. Integration. This Agreement is the entire agreement
+between yo u and Sun relating to its subject matter. It
+supersedes all prior or contemporaneous oral or written
+communications, proposals, represe ntations and warranties
+and prevails over any conflicting or addition al terms of
+any quote, order, acknowledgment, or other communication
+between the parties relating to its subject matter during
+the term of
+ this Agreement. No modification of this Agreement will be
+ binding , unless in writing and signed by an authorized
+representative of eac h party.
+
+
+
+
+
+ JAVA ADVANCED IMAGING, VERSION 1.1.2
+
+
+
+ SUPPLEMENTAL LICENSE TERMS
+
+
+
+These supplemental license terms ("Supplemental Terms") add
+to or mod ify the terms of the Binary Code License
+Agreement (collectively, the
+ "Agreement"). Capitalized terms not defined in these
+ Supplemental Te rms shall have the same meanings ascribed
+to them in the Agreement. T hese Supplemental Terms shall
+supersede any inconsistent or conflicti ng terms in the
+Agreement, or in any license contained within the Sof
+tware.
+
+
+
+1. Software Internal Use and Development License Grant.
+Subject to
+ the terms and conditions of this Agreement, including, but
+ not limit ed to Section 3 (Java Technology Restrictions)
+of these Supplemental Terms, Sun grants you a
+non-exclusive, non-transferable, limited lice nse to
+reproduce internally and use internally the binary form of
+the
+ Software, complete and unmodified, for the sole purpose of
+ designing , developing and testing your Java applets and
+applications ("Program s").
+
+
+
+2. License to Distribute Software. In addition to the
+license gran ted in Section 1 (Software Internal Use and
+Development License Grant ) of these Supplemental Terms,
+subject to the terms and conditions of
+ this Agreement, including but not limited to, Section 3
+ (Java Techno logy Restrictions) of these Supplemental
+Terms, Sun grants you a non- exclusive, non-transferable,
+limited license to reproduce and distrib ute the Software
+in binary code form only, provided that you (i) dist ribute
+the Software complete and unmodified and only bundled as
+part of your Programs, (ii) do not distribute additional
+software intended
+ to replace any component(s) of the Software, (iii) do not
+ remove or alter any proprietary legends or notices
+contained in the Software, ( iv) only distribute the
+Software subject to a license agreement that protects Sun's
+interests consistent with the terms contained in this
+Agreement, and (v) agree to defend and indemnify Sun and
+its licensor s from and against any damages, costs,
+liabilities, settlement amount s and/or expenses (including
+attorneys' fees) incurred in connection with any claim,
+lawsuit or action by any third party that arises or r
+esults from the use or distribution of any and all Programs
+and/or So ftware.
+
+
+
+3. Java Technology Restrictions. You may not modify the
+Java Platform
+ Interface ("JPI", identified as classes contained within
+ the "java" package or any subpackages of the "java"
+package), by creating additi onal classes within the JPI or
+otherwise causing the addition to or m odification of the
+classes in the JPI. In the event that you creat e an
+additional class and associated API(s) which (i) extends
+the fun ctionality of the Java platform, and (ii) is
+exposed to third party s oftware developers for the purpose
+of developing additional software which invokes such
+additional API, you must promptly publish broadly an
+accurate specification for such API for free use by all
+developers
+. You may not create, or authorize your licensees to create additi
+onal classes, interfaces, or subpackages that are in any
+way identifi ed as "java", "javax", "sun" or similar
+convention as specified by Su n in any naming convention
+designation.
+
+
+
+4. Java Runtime Availability. Refer to the appropriate
+version of t he Java Runtime Environment binary code
+license (currently located at
+ http://www.java.sun.com/jdk/index.html) for the
+ availability of runt ime code which may be distributed
+with Java applets and applications.
+
+
+
+5. Trademarks and Logos. You acknowledge and agree as
+between you and
+ Sun that Sun owns the SUN, SOLARIS, JAVA, JINI, FORTE, and
+ iPLANET t rademarks and all SUN, SOLARIS, JAVA, JINI,
+FORTE, and iPLANET-relate d trademarks, service marks,
+logos and other brand designations ("Sun
+ Marks"), and you agree to comply with the Sun Trademark
+ and Logo Usa ge Requirements currently located at
+http://www.sun.com/policies/trad emarks. Any use you make
+of the Sun Marks inures to Sun's benefit.
+
+
+
+
+6. Source Code. Software may contain source code that is
+provided sol ely for reference purposes pursuant to the
+terms of this Agreement. Source code may not be
+redistributed unless expressly provided fo r in this
+Agreement.
+
+
+
+7. Termination for Infringement. Either party may
+terminate this A greement immediately should any Software
+become, or in either party's
+ opinion be likely to become, the subject of a claim of
+ infringement of any intellectual property right.
+
+
+
+For inquiries please contact: Sun Microsystems, Inc., 4150
+Network Ci rcle, Santa Clara, California 95054, U.S.A
+
+(LFI#143342/Form ID#011801)
diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/LICENSE b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/LICENSE
new file mode 100644
index 0000000..b5873aa
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/licenses/sun-jaicmm/LICENSE
@@ -0,0 +1,186 @@
+License for sun JAI ICC color profiles. Downloaded from
+http://java.sun.com/products/java-media/jai/downloads/download-1_1_2.html
+
+
+ Java(TM) Advanced Imaging API
+ Version 1.0
+ Binary Code License
+
+This binary code license ("License") contains
+rights and restrictions associated with use of
+the accompanying Java(TM) Advanced Imaging API
+software and documentation ("Software"). Read the
+License carefully before using the Software. By
+using the Software you agree to the terms and
+conditions of this License.
+
+1. License to Distribute. Licensee is granted a
+ royalty-free right to reproduce and
+ distribute the Software provided that
+ Licensee:
+
+ (A) distributes the Software complete and
+ unmodified (except for the specific files
+ identified as optional in the Software
+ README file), only as part of, and for
+ the sole purpose of running, Licensee's
+ Java compatible applet or application
+ ("Program") into which the Software is
+ incorporated;
+
+ (B) does not distribute additional software
+ intended to replace any component(s) of
+ the Software;
+
+ (C) agrees to incorporate the most current
+ version of the Software that was
+ available 180 days prior to each
+ production release of the Program;
+
+ (D) does not remove or alter any proprietary
+ legends or notices contained in the
+ Software;
+
+ (E) includes the provisions of Sections 2, 3,
+ 5, 6, 8 and 9 in Licensee's license
+ agreement for the Program; and
+
+ (F) agrees to indemnify, hold harmless, and
+ defend Sun and its licensors from and
+ against any claims or lawsuits, including
+ attorneys' fees, that arise or result
+ from the use or distribution of the
+ Program.
+
+2. Java Platform Interface. Licensee may not
+ modify the Java Platform Interface ("JPI",
+ identified as classes contained within the
+ "java" package or any subpackages of the
+ "java" package), by creating additional
+ classes within the JPI or otherwise causing
+ the addition to or modification of the
+ classes in the JPI. In the event that
+ Licensee creates any Java-related API and
+ distributes such API to others for applet or
+ application development, Licensee must
+ promptly publish broadly, an accurate
+ specification for such API for free use by
+ all developers of Java-based software.
+
+3. Restrictions. Software is confidential
+ copyrighted information of Sun and title to
+ all copies is retained by Sun and/or its
+ licensors. Licensee shall not decompile,
+ disassemble, decrypt, extract, or otherwise
+ reverse engineer Software. Software may not
+ be leased, assigned, or sublicensed, in whole
+ or in part, except as specifically authorized
+ in Section 1. Software is not designed or
+ intended for use in online control of
+ aircraft, air traffic, aircraft navigation or
+ aircraft communications; or in the design,
+ construction, operation or maintenance of any
+ nuclear facility. Licensee warrants that it
+ will not use or redistribute the Software for
+ such purposes.
+
+4. Trademarks and Logos. This License does not
+ authorize Licensee to use any Sun name,
+ trademark or logo. Licensee acknowledges that
+ Sun owns the Java trademark and all
+ Java-related trademarks, logos and icons
+ including the Coffee Cup and Duke ("Java
+ Marks") and agrees to:
+
+ (A) comply with the Java Trademark Guidelines
+ at http://java.sun.com/trademarks.html;
+
+ (B) not do anything harmful to or
+ inconsistent
+ with Sun's rights in the Java Marks; and
+
+ (C) assist Sun in protecting those rights,
+ including assigning to Sun any rights
+ acquired by Licensee in any Java Mark.
+
+5. Disclaimer of Warranty. Software is provided
+ "AS IS," without a warranty of any kind. ALL
+ EXPRESS OR IMPLIED REPRESENTATIONS AND
+ WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR
+ PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
+ EXCLUDED.
+
+6. Limitation of Liability. SUN AND ITS
+LICENSORS
+ SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED
+ BY LICENSEE OR ANY THIRD PARTY AS A RESULT OF
+ USING OR DISTRIBUTING SOFTWARE. IN NO EVENT
+ WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY
+ LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
+ INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL
+ OR PUNITIVE DAMAGES, HOWEVER CAUSED AND
+ REGARDLESS OF THE THEORY OF LIABILITY,
+ ARISING OUT OF THE USE OF OR INABILITY TO USE
+ SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination. This license shall automatically
+ terminate 180 days after production release
+ of the next version of the Software by Sun.
+ Licensee may terminate this License at any
+ time by destroying all copies of Software.
+ This License will terminate immediately
+ without notice from Sun if Licensee fails to
+ comply with any provision of this License.
+ Upon such termination, Licensee must destroy
+ all copies of Software.
+
+8. Export Regulations. Software, including
+ technical data, is subject to U.S. export
+ control laws, including the U.S. Export
+ Administration Act and its associated
+ regulations, and may be subject to export or
+ import regulations in other countries.
+ Licensee agrees to comply strictly with all
+ such regulations and acknowledges that it has
+ the responsibility to obtain licenses to
+ export, re-export, or import Software.
+ Software may not be downloaded, or otherwise
+ exported or re-exported
+
+ (A) into, or to a national or resident of,
+ Cuba, Iraq, Iran, North Korea, Libya,
+ Sudan, Syria or any country to which the
+ U.S. has embargoed goods; or
+
+ (B) to anyone on the U.S. Treasury
+ Department's list of Specially Designated
+ Nations or the U.S. Commerce Department's
+ Table of Denial Orders.
+
+9. Restricted Rights. Use, duplication or
+ disclosure by the United States government is
+ subject to the restrictions as set forth in
+ the Rights in Technical Data and Computer
+ Software Clauses in DFARS 252.227-7013(c) (1)
+ (ii) and FAR 52.227-19(c) (2) as applicable.
+
+10. Governing Law. Any action related to this
+ License will be governed by California law
+ and controlling U.S. federal law. No choice
+ of law rules of any jurisdiction will apply.
+
+11. Severability. If any of the above provisions
+ are held to be in violation of applicable
+ law, void, or unenforceable in any
+ jurisdiction, then such provisions are
+ herewith waived or amended to the extent
+ necessary for the License to be otherwise
+ enforceable in such jurisdiction. However,
+ if in Sun's opinion deletion or amendment of
+ any provisions of the License by operation of
+ this paragraph unreasonably compromises the
+ rights or increase the liabilities of Sun or
+ its licensors, Sun reserves the right to
+ terminate the License.
diff --git a/pdf-as-web/src/main/assembly/tomcat/default.xml b/pdf-as-web/src/main/assembly/tomcat/default.xml
new file mode 100644
index 0000000..f8c3f03
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/default.xml
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html -->
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+
+ <id>tomcat</id>
+
+ <formats>
+ <format>zip</format>
+ <!-- tar.gz format preserves permission flags (unix only) -->
+ <format>tar.gz</format>
+ </formats>
+
+ <baseDirectory>tomcat</baseDirectory>
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+ <fileSets>
+
+ <!-- Assemble extracted tomcat, excluding pre-deployed applications like examples, manager... -->
+ <fileSet>
+ <directory>${project.build.directory}/tomcat</directory>
+ <excludes>
+ <exclude>apache-tomcat-${tomcat.version}/webapps/examples/**</exclude>
+ <exclude>apache-tomcat-${tomcat.version}/webapps/docs/**</exclude>
+ <exclude>apache-tomcat-${tomcat.version}/webapps/host-manager/**</exclude>
+ <exclude>apache-tomcat-${tomcat.version}/webapps/manager/**</exclude>
+ <exclude>apache-tomcat-${tomcat.version}/webapps/ROOT/*</exclude>
+ <!-- excluded because we neet to set permission flags later on (unix only)-->
+ <exclude>apache-tomcat-${tomcat.version}/bin/*.sh</exclude>
+ </excludes>
+ <outputDirectory />
+ </fileSet>
+
+ <!-- Copy unix tomcat bin scripts, setting a+xr and u+w (0x0755).-->
+ <fileSet>
+ <directory>${project.build.directory}/tomcat</directory>
+ <includes>
+ <include>apache-tomcat-${tomcat.version}/bin/*.sh</include>
+ </includes>
+ <fileMode>0755</fileMode>
+ <outputDirectory />
+ </fileSet>
+
+ <!-- Copy startup scripts (excluding Unix scripts). -->
+ <fileSet>
+ <directory>src/main/assembly/tomcat/scripts</directory>
+ <excludes>
+ <!-- ignored since permission flags are set later on (unix only) -->
+ <exclude>*.sh</exclude>
+ </excludes>
+ <filtered>true</filtered>
+ <outputDirectory>apache-tomcat-${tomcat.version}</outputDirectory>
+ </fileSet>
+
+ <!-- Copy startup unix scripts, setting a+xr and u+w (0x0755).-->
+ <fileSet>
+ <directory>src/main/assembly/tomcat/scripts</directory>
+ <includes>
+ <!-- ignored since permission flags are set later on (unix only) -->
+ <include>*.sh</include>
+ </includes>
+ <fileMode>0755</fileMode>
+ <filtered>true</filtered>
+ <outputDirectory>apache-tomcat-${tomcat.version}</outputDirectory>
+ </fileSet>
+
+ <!-- Copy csv log file template (containing header line).-->
+ <fileSet>
+ <directory>src/main/assembly/tomcat/logs</directory>
+ <includes>
+ <include>*.csv</include>
+ </includes>
+ <outputDirectory>apache-tomcat-${tomcat.version}/logs</outputDirectory>
+ </fileSet>
+
+ <!-- Copy root webapp (which just redirects to /pdf-as). -->
+ <fileSet>
+ <directory>src/main/assembly/tomcat/ROOT</directory>
+ <filtered>true</filtered>
+ <outputDirectory>apache-tomcat-${tomcat.version}/webapps/ROOT</outputDirectory>
+ </fileSet>
+
+ <!-- Deploy pdfas configuration. -->
+ <fileSet>
+ <directory>src/main/assembly/tomcat/configuration/default/pdf-as</directory>
+ <outputDirectory>apache-tomcat-${tomcat.version}/conf/pdf-as</outputDirectory>
+ </fileSet>
+
+ <!-- Deploy context information file. -->
+ <fileSet>
+ <directory>src/main/assembly/tomcat/configuration/default/Catalina/localhost</directory>
+ <outputDirectory>apache-tomcat-${tomcat.version}/conf/Catalina/localhost</outputDirectory>
+ </fileSet>
+
+ </fileSets>
+
+ <moduleSets>
+
+ <!-- Copy pdf-as.war to tomcat webapps. -->
+ <moduleSet>
+ <useAllReactorProjects>true</useAllReactorProjects>
+ <includes>
+ <include>eu.europa.ec.joinup.egovlabs.pdf-as:pdf-as-web:war</include>
+ </includes>
+ <binaries>
+ <unpack>false</unpack>
+ <outputDirectory>apache-tomcat-${tomcat.version}/webapps</outputDirectory>
+ <outputFileNameMapping>pdf-as.war</outputFileNameMapping>
+ </binaries>
+ </moduleSet>
+
+ </moduleSets>
+
+</assembly>
diff --git a/pdf-as-web/src/main/assembly/tomcat/logs/pdf-as-statistic.csv b/pdf-as-web/src/main/assembly/tomcat/logs/pdf-as-statistic.csv
new file mode 100644
index 0000000..ee73576
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/logs/pdf-as-statistic.csv
@@ -0,0 +1 @@
+Timestamp;Operation;Signaturemode;Device;ProfileId;Filesize;User Agent;Status;Exception Class;ErrorCode;External Errorcode;Duration
diff --git a/pdf-as-web/src/main/assembly/tomcat/scripts/catalina.env b/pdf-as-web/src/main/assembly/tomcat/scripts/catalina.env
new file mode 100644
index 0000000..3ee2300
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/scripts/catalina.env
@@ -0,0 +1,11 @@
+export CATALINA_HOME=`pwd`
+export CATALINA_BASE=`pwd`
+export CATALINA_OPTS="\
+ -Djava.io.tmpdir=$CATALINA_BASE/temp \
+ -Dpdf-as.work-dir=$CATALINA_BASE/conf/pdf-as \
+ -server \
+ -Xss1024K \
+ -Xms128M \
+ -Xmx512M \
+ -XX:MaxPermSize=256m \
+"
diff --git a/pdf-as-web/src/main/assembly/tomcat/scripts/setVariables.bat b/pdf-as-web/src/main/assembly/tomcat/scripts/setVariables.bat
new file mode 100644
index 0000000..ba61144
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/scripts/setVariables.bat
@@ -0,0 +1,62 @@
+@echo off
+
+set SERVICE_NAME=tomcatpdfas
+set SERVICE_DESCRIPTION=ports: shutdown=8005, http=8080
+set SERVICE_DISPLAY_NAME=Apache Tomcat ${tomcat.version} - PDF-AS ${project.version}
+set TITLE=%SERVICE_DISPLAY_NAME%
+
+rem Set Tomcat installation folder, otherwise automatic detection will be performed.
+set TOMCAT_DIR=%CD%
+
+rem Set Java installation folder, otherwise default JRE/JDK will be used.
+rem set JAVA_HOME=
+
+
+rem *** do not change settings beyond this point ***
+
+if exist %TOMCAT_DIR%\webapps\nul goto START
+goto FIND_TOMCAT_DIR
+
+:FIND_TOMCAT_DIR
+set TOMCAT_DIR=
+if exist webapps\nul set TOMCAT_DIR=%CD%
+if exist ..\webapps\nul set TOMCAT_DIR=%CD%\..
+if exist apache-tomcat-${tomcat.version}\webapps\nul set TOMCAT_DIR=%CD%\apache-tomcat-${tomcat.version}
+if "%TOMCAT_DIR%"=="" goto TOMCAT_DIR_NOT_FOUND
+goto START
+
+:TOMCAT_DIR_NOT_FOUND
+echo.
+echo Unable to find Tomcat installation folder.
+goto END
+
+:START
+set CATALINA_HOME=%TOMCAT_DIR%
+set CATALINA_BASE=%TOMCAT_DIR%
+set PDFAS_WORK_DIR=%CATALINA_BASE%\conf\pdf-as
+
+rem PARAMETERS
+set PDFAS_WORK_DIR_PARAM=-Dpdf-as.work-dir="%PDFAS_WORK_DIR%"
+
+rem MEMORY SETTINGS
+
+rem Thread stack size in KB
+set JVM_XSS=1024
+
+rem Initial memory pool size in MB
+set JVM_XMS=128
+
+rem Maximum memory pool size in MB
+set JVM_XMX=1024
+
+rem Maximum PermGenSize in M
+set JVM_MAXPERMSIZE=256
+
+rem COMMAND LINE OPTIONS
+set JAVA_OPTS=-server -Xss%JVM_XSS%k -Xms%JVM_XMS%m -Xmx%JVM_XMX%m -XX:MaxPermSize=%JVM_MAXPERMSIZE%m
+set CATALINA_OPTS=%PDFAS_WORK_DIR_PARAM%
+
+rem SERVICE OPTIONS
+set SERVICE_OPTS=%PDFAS_WORK_DIR_PARAM%;-XX:MaxPermSize=%JVM_MAXPERMSIZE%m
+
+:END
diff --git a/pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.bat b/pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.bat
new file mode 100644
index 0000000..8db7b39
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.bat
@@ -0,0 +1,5 @@
+@echo off
+call setVariables.bat
+echo.
+cd /d %CATALINA_HOME%
+bin\catalina.bat start
diff --git a/pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.sh b/pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.sh
new file mode 100644
index 0000000..caacfbc
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/scripts/startTomcat.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+DEFAULT=`pwd`/catalina.env
+. $DEFAULT
+
+$CATALINA_HOME/bin/catalina.sh run
+
diff --git a/pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.bat b/pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.bat
new file mode 100644
index 0000000..9c59fb5
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.bat
@@ -0,0 +1,5 @@
+@echo off
+call setVariables.bat
+echo.
+cd %CATALINA_HOME%
+bin\catalina.bat stop
diff --git a/pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.sh b/pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.sh
new file mode 100644
index 0000000..c5943eb
--- /dev/null
+++ b/pdf-as-web/src/main/assembly/tomcat/scripts/stopTomcat.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+DEFAULT=`pwd`/catalina.env
+. $DEFAULT
+
+$CATALINA_HOME/bin/catalina.sh stop
+
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java
index 2edaba5..202dd40 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java
@@ -52,12 +52,12 @@ import at.knowcenter.wag.egov.egiz.exceptions.SignatureException;
/**
* Contains commonly used helper functions for the local request procedure.
- *
+ *
* @author wprinz
*/
public abstract class LocalRequestHelper
{
-
+
/**
* The logger.
*/
@@ -80,7 +80,7 @@ public abstract class LocalRequestHelper
/**
* Sets up the local sign procedure.
- *
+ *
* @param response
* The HttpServletResponse the local request page is written to.
* @throws IOException
@@ -101,7 +101,7 @@ public abstract class LocalRequestHelper
si.outputAvailable = false;
URL data_URL = new URL(request.getScheme(), host, request.getServerPort(), WebUtils.addJSessionID(request.getContextPath() + "/DataURL", request));
-
+
String data_url = response.encodeURL(data_URL.toString());
logger.debug("data_url = " + data_url);
@@ -113,8 +113,8 @@ public abstract class LocalRequestHelper
/**
* Sets up the local verify procedure.
- * @param list
- *
+ * @param list
+ *
* @param response
* The HttpServletResponse the local request page is written to.
* @return Returns the JSP location where the calling servlet should dispatch
@@ -127,18 +127,18 @@ public abstract class LocalRequestHelper
* Forwarded exception.
* @throws ConnectorFactoryException
* Forwarded exception.
- * @throws SettingsException
- * @throws ConnectorException
+ * @throws SettingsException
+ * @throws ConnectorException
*/
public static String processLocalVerify(PdfAsInternal pdfAsInternal, VerifySessionInformation si, List signaturesToBeverified, HttpServletRequest request, HttpServletResponse response) throws SignatureException, NormalizeException,
IOException, ConnectorFactoryException, SettingsException, ConnectorException
{
si.currentLocalOperation = new CurrentLocalOperation();
si.currentLocalOperation.signaturesToBeverified = signaturesToBeverified; // SignatureInformation
-
+
si.currentLocalOperation.requests = new LocalRequest[signaturesToBeverified.size()];
si.currentLocalOperation.response_xmls = new String[si.currentLocalOperation.requests.length];
-
+
si.currentLocalOperation.current_operation = 0;
String host = request.getServerName();
@@ -169,12 +169,12 @@ public abstract class LocalRequestHelper
/**
* Formats the OK response from the web application back to the local BKU.
- *
+ *
* <p>
* As stated in the BKU tutorial, this response must be plain text "<ok/>".
* Otherwise BKU will assume a failure.
* </p>
- *
+ *
* @param response
* The HttpServletResponse to answer to.
* @throws IOException
@@ -191,7 +191,6 @@ public abstract class LocalRequestHelper
public static String makeStringHTMLReady(String input)
{
String output = input;
-
output = output.replaceAll("&", "&amp;");
output = output.replaceAll("\"", "&quot;");
output = output.replaceAll("<", "&lt;");
@@ -223,7 +222,7 @@ public abstract class LocalRequestHelper
return loc_server;
}
-
+
public static String getLocalContextAddress(HttpServletRequest request, HttpServletResponse response) {
String serverURL = getLocalServerAddress(request, response);
String context = request.getContextPath();
@@ -235,7 +234,7 @@ public abstract class LocalRequestHelper
/**
* Tells, if the given connector is local.
- *
+ *
* @param connector_identifier
* The connector.
* @return Returns true, if the given connector is local, false otherwise.
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/DataURLServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/DataURLServlet.java
index 1f3d7ed..8afae1f 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/DataURLServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/DataURLServlet.java
@@ -28,7 +28,6 @@ import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.util.ArrayList;
-import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
@@ -52,12 +51,15 @@ import at.gv.egiz.pdfas.api.PdfAs;
import at.gv.egiz.pdfas.api.commons.Constants;
import at.gv.egiz.pdfas.api.commons.SignatureInformation;
import at.gv.egiz.pdfas.api.exceptions.PdfAsException;
-import at.gv.egiz.pdfas.exceptions.external.ExternalErrorException;
-import at.gv.egiz.pdfas.exceptions.web.SessionExpiredException;
import at.gv.egiz.pdfas.api.internal.LocalBKUParams;
import at.gv.egiz.pdfas.api.internal.PdfAsInternal;
import at.gv.egiz.pdfas.api.verify.VerifyResult;
import at.gv.egiz.pdfas.api.verify.VerifyResults;
+import at.gv.egiz.pdfas.exceptions.external.ExternalErrorException;
+import at.gv.egiz.pdfas.exceptions.web.SessionExpiredException;
+import at.gv.egiz.pdfas.framework.logging.StatisticData;
+import at.gv.egiz.pdfas.framework.logging.StatisticLogFactory;
+import at.gv.egiz.pdfas.framework.logging.StatisticLogger;
import at.gv.egiz.pdfas.web.LocalRequest;
import at.gv.egiz.pdfas.web.helper.ApiHelper;
import at.gv.egiz.pdfas.web.helper.LocalRequestHelper;
@@ -67,10 +69,8 @@ import at.gv.egiz.pdfas.web.helper.SigningTimeHelper;
import at.gv.egiz.pdfas.web.session.SessionAttributes;
import at.gv.egiz.pdfas.web.session.SignSessionInformation;
import at.gv.egiz.pdfas.web.session.VerifySessionInformation;
-import at.gv.egiz.pdfas.web.servlets.SignServlet;
import at.knowcenter.wag.egov.egiz.cfg.SettingsReader;
import at.knowcenter.wag.egov.egiz.exceptions.ConnectorException;
-import at.knowcenter.wag.egov.egiz.exceptions.SettingNotFoundException;
import at.knowcenter.wag.egov.egiz.exceptions.SignatureException;
/**
@@ -90,7 +90,7 @@ public class DataURLServlet extends HttpServlet {
private static Log log = LogFactory.getLog(DataURLServlet.class);
// stat Log
- private static Log statLog = LogFactory.getLog("statistic");
+ private static StatisticLogger statLog = StatisticLogFactory.getLog(Constants.STATISTIC_LOGGER_NAME);
protected void dispatch(HttpServletRequest request,
HttpServletResponse response, String resource)
@@ -145,7 +145,7 @@ public class DataURLServlet extends HttpServlet {
protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
log.debug("Data URL is accessed."); //$NON-NLS-1$
-
+
Object sessionObject = null;
try {
sessionObject = SessionHelper.getSession(request);
@@ -161,86 +161,37 @@ public class DataURLServlet extends HttpServlet {
VerifySessionInformation si = (VerifySessionInformation) sessionObject;
processVerify(request, response, si);
}
- } catch (ExternalErrorException f) {
-
- if (statLog.isInfoEnabled()) {
-
+ } catch (PdfAsException e) {
+ if (statLog.isEnabled()) {
String ua = request.getHeader("User-Agent");
-
long endTime = System.currentTimeMillis();
- // String toReport = "SIGN;" + si.mode + ";" + si.filename +
- // ";"+ fileSize + ";" +
-
- String toReport = null;
+ StatisticData statisticData = new StatisticData();
+ statisticData.setException(new SessionExpiredException("Session lost?"));
+ statisticData.setUserAgent(ua);
if (sessionObject != null) {
+ statisticData.setException(e);
if (sessionObject instanceof SignSessionInformation) {
SignSessionInformation si = (SignSessionInformation) sessionObject;
- toReport = "SIGN;" + si.mode + ";" + si.connector + ";"
- + si.pdfDataSource.getLength() + ";"
- + (endTime - si.startTime) + ";ERROR;" + ua;
+ statisticData.setOperation("SIGN").setSignatureMode(si.mode).setConnector(si.connector)
+ .setFileSize(si.pdfDataSource.getLength()).setDuration(endTime - si.startTime)
+ .setSignatureProfileId(si.type);
} else {
VerifySessionInformation si = (VerifySessionInformation) sessionObject;
- try {
- toReport = "VERIFY;"+ si.file_name + ";"+ 0 + ";" + (endTime - si.startTime) + ";" + VerifyServlet.debugVerifyResults(si.verifyResults) + ";ERROR;" + ua;
- } catch (SettingNotFoundException e1) {
- toReport = "VERIFY;"+ si.file_name + ";"+ 0 + ";" + (endTime - si.startTime) + ";ERROR-debug-verify" + ";ERROR;" + ua;
- }
+ statisticData.setOperation("VERIFY").setSignatureMode(si.mode).setConnector(si.connector)
+ .setFileSize(si.inputDataSource.getLength()).setDuration(endTime - si.startTime)
+ .setSignatureProfileId(si.type);
}
}
-
- if(toReport != null)
- {
- statLog.info(toReport);
- }
- else
- {
- statLog.info(";;;;;session-ERROR");
- }
+ statLog.log(statisticData);
}
- log.error(f.getMessage(), f);
- HttpSession session = request.getSession(true);
- session.setAttribute(SignServlet.ERROR_WITHIN_IFRAME, "false");
- log.debug("Attribute ERROR_WITHIN_IFRAME: "
- + session.getAttribute(SignServlet.ERROR_WITHIN_IFRAME));
- SignServlet.prepareDispatchToErrorPage(f, request);
- dispatch(request, response, "/jsp/error.jsp");
-
- } catch (PdfAsException e) {
-
- if (statLog.isInfoEnabled()) {
- long endTime = System.currentTimeMillis();
- // String toReport = "SIGN;" + si.mode + ";" + si.filename +
- // ";"+ fileSize + ";" +
-
- String toReport = null;
- if (sessionObject != null) {
- if (sessionObject instanceof SignSessionInformation) {
- SignSessionInformation si = (SignSessionInformation) sessionObject;
- toReport = "SIGN;" + si.mode + ";" + si.connector + ";"
- + si.pdfDataSource.getLength() + ";"
- + (endTime - si.startTime) + ";ERROR";
- } else {
- VerifySessionInformation si = (VerifySessionInformation) sessionObject;
- try {
- toReport = "VERIFY;"+ si.file_name + ";"+ 0 + ";" + (endTime - si.startTime) + ";" + VerifyServlet.debugVerifyResults(si.verifyResults) + ";ERROR";
- } catch (SettingNotFoundException e1) {
- toReport = "VERIFY;"+ si.file_name + ";"+ 0 + ";" + (endTime - si.startTime) + ";ERROR-debug-verify" + ";ERROR";
- }
- }
- }
+ log.error(e);
- if(toReport != null)
- {
- statLog.info(toReport);
- }
- else
- {
- statLog.info(";;;;;session-ERROR");
- }
+ if (e instanceof ExternalErrorException) {
+ HttpSession session = request.getSession(true);
+ session.setAttribute(SignServlet.ERROR_WITHIN_IFRAME, "false");
+ log.debug("Attribute ERROR_WITHIN_IFRAME: " + session.getAttribute(SignServlet.ERROR_WITHIN_IFRAME));
}
-
- log.error(e.getMessage(), e);
SignServlet.prepareDispatchToErrorPage(e, request);
dispatch(request, response, "/jsp/error.jsp");
}
@@ -404,16 +355,12 @@ public class DataURLServlet extends HttpServlet {
"Das detached XML kann nicht direkt durch die BKU geschliffen werden, weil diese es als Request interpretieren w\u00FCrde. Daher das XML als Text:");
response.getWriter().println(
new String(si.signedPdf, "UTF-8"));
- if (statLog.isInfoEnabled()) {
+ if (statLog.isEnabled()) {
long endTime = System.currentTimeMillis();
- // String toReport = "SIGN;" + si.mode + ";" +
- // si.filename + ";"+ fileSize + ";" +
- String toReport = "SIGN;" + si.mode + ";"
- + si.connector + ";"
- + si.pdfDataSource.getLength() + ";"
- + (endTime - si.startTime) + ";OK;" + userAgent;
-
- statLog.info(toReport);
+ StatisticData statisticData = new StatisticData("SIGN", si.connector,
+ si.pdfDataSource.getLength(), si.mode, endTime - si.startTime, userAgent);
+ statisticData.setSignatureProfileId(si.type);
+ statLog.log(statisticData);
}
} else {
// tzefferer: If PDF-AS has been called by an external
@@ -423,16 +370,12 @@ public class DataURLServlet extends HttpServlet {
if (si.exappinf != null) {
log.debug("Entering external application interface mode. Skipping redirection to download page.");
// afitzek
- if (statLog.isInfoEnabled()) {
+ if (statLog.isEnabled()) {
long endTime = System.currentTimeMillis();
- // String toReport = "SIGN;" + si.mode + ";" +
- // si.filename + ";"+ fileSize + ";" +
- String toReport = "SIGN;" + si.mode + ";"
- + si.connector + ";"
- + si.pdfDataSource.getLength() + ";"
- + (endTime - si.startTime) + ";OK;" + userAgent;
-
- statLog.info(toReport);
+ StatisticData statisticData = new StatisticData("SIGN EXTERNAL", si.connector,
+ si.pdfDataSource.getLength(), si.mode, endTime - si.startTime, userAgent);
+ statisticData.setSignatureProfileId(si.type);
+ statLog.log(statisticData);
}
SignServletHelper.returnSignResponse(si, request,
response);
@@ -463,17 +406,12 @@ public class DataURLServlet extends HttpServlet {
SessionAttributes.DOWNLOAD_URL_FOR_SIGNED_PDF_DOCUMENT,
downloadURL);
// afitzek
- if (statLog.isInfoEnabled()) {
+ if (statLog.isEnabled()) {
long endTime = System.currentTimeMillis();
- String timeDiff = "----";
- // String toReport = "SIGN;" + si.mode + ";" +
- // si.filename + ";"+ fileSize + ";" +
- String toReport = "SIGN;" + si.mode + ";"
- + si.connector + ";"
- + si.pdfDataSource.getLength() + ";"
- + (endTime - si.startTime) + ";OK;" + userAgent;
-
- statLog.info(toReport);
+ StatisticData statisticData = new StatisticData("SIGN", si.connector,
+ si.pdfDataSource.getLength(), si.mode, endTime - si.startTime, userAgent);
+ statisticData.setSignatureProfileId(si.type);
+ statLog.log(statisticData);
}
temporaryRedirect(
response.encodeRedirectURL(LocalRequestHelper
@@ -503,7 +441,7 @@ public class DataURLServlet extends HttpServlet {
log.trace("processVerify");
String userAgent = request.getHeader("user-agent");
-
+
String xml_response = request.getParameter("XMLResponse"); //$NON-NLS-1$
log.debug("xml_response = " + xml_response); //$NON-NLS-1$
@@ -555,21 +493,17 @@ public class DataURLServlet extends HttpServlet {
return resList;
}
};
- dispatchToResults(results, request, response, backToListURL);
- if (statLog.isInfoEnabled()) {
+ if (statLog.isEnabled()) {
long endTime = System.currentTimeMillis();
- // String toReport = "SIGN;" + si.mode + ";" + si.filename +
- // ";"+ fileSize + ";" +
- String toReport = null;
- try {
- toReport = "VERIFY;"+ si.file_name + ";"+ 0 + ";" + (endTime - si.startTime) + ";" + VerifyServlet.debugVerifyResults(si.verifyResults) + ";OK;" + userAgent;
- } catch (SettingNotFoundException e1) {
- toReport = "VERIFY;"+ si.file_name + ";"+ 0 + ";" + (endTime - si.startTime) + ";ERROR-debug-verify" + ";OK;" + userAgent;
- }
-
- statLog.info(toReport);
+ StatisticData statisticData = new StatisticData("VERIFY", si.connector, si.inputDataSource.getLength());
+ statisticData.setDuration(endTime - si.startTime);
+ statisticData.setUserAgent(request.getHeader("User-Agent"));
+ statLog.log(statisticData);
}
+
+ dispatchToResults(results, request, response, backToListURL);
+
}
}
}
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java
index d07b72e..cd2c38a 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java
@@ -27,14 +27,12 @@
package at.gv.egiz.pdfas.web.servlets;
import java.io.BufferedInputStream;
-import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URL;
-import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
@@ -51,13 +49,12 @@ import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.apache.commons.io.IOUtils;
-import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import at.gv.egiz.pdfas.api.commons.Constants;
import at.gv.egiz.pdfas.api.exceptions.PdfAsException;
import at.gv.egiz.pdfas.api.io.DataSource;
-import at.gv.egiz.pdfas.api.io.TextBased;
import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning;
import at.gv.egiz.pdfas.exceptions.ErrorCode;
import at.gv.egiz.pdfas.exceptions.ErrorCodeHelper;
@@ -65,10 +62,8 @@ import at.gv.egiz.pdfas.exceptions.external.ExternalErrorException;
import at.gv.egiz.pdfas.web.ExternAppInformation;
import at.gv.egiz.pdfas.web.FormFields;
import at.gv.egiz.pdfas.web.helper.ApiHelper;
-import at.gv.egiz.pdfas.web.helper.SessionHelper;
import at.gv.egiz.pdfas.web.helper.SignServletHelper;
import at.gv.egiz.pdfas.web.helper.WebSettingsReader;
-import at.gv.egiz.pdfas.web.helper.WebUtils;
import at.gv.egiz.pdfas.web.io.ByteArrayPdfDataSource;
import at.gv.egiz.pdfas.web.itext.IText;
import at.gv.egiz.pdfas.web.session.SessionAttributes;
@@ -99,7 +94,6 @@ public class SignServlet extends HttpServlet
* The log.
*/
private static Log log = LogFactory.getLog(SignServlet.class);
- private static Log statLog = LogFactory.getLog("statistic");
@@ -153,10 +147,7 @@ public class SignServlet extends HttpServlet
// for performance measurement
- long startTime = 0;
- if (statLog.isInfoEnabled()) {
- startTime = System.currentTimeMillis();
- }
+ long startTime = System.currentTimeMillis();
// check if pdf-as has been called by external webapp
if (request.getParameter(FormFields.FIELD_PDF_URL) != null)
@@ -197,9 +188,9 @@ public class SignServlet extends HttpServlet
//end added
session = request.getSession(true);
-
+
session.setAttribute(SignServlet.SUBMITFORM_FILENAME_KEY, filename);
-
+
// added by tknall
if (sig_pos_y != null && sig_pos_p != null && sig_pos_x != null) {
if (sig_pos_w != null) {
@@ -227,7 +218,7 @@ public class SignServlet extends HttpServlet
}
- // fixed by tknall: if we already have parameters "&" must be used instead of "?"
+ // if we already have parameters "&" must be used instead of "?"
String paramSeparator = (pdf_url.indexOf("?") != -1) ? "&" : "?";
String query = pdf_url + "/" + filename + paramSeparator + FormFields.FIELD_PDF_ID + "=" + pdf_id;
//query = pdf_url;
@@ -345,7 +336,7 @@ public class SignServlet extends HttpServlet
// ud.pdfDataSource = PdfAS.applyStrictMode(ud.pdfDataSource);
session = request.getSession(true);
-
+
SignSessionInformation si = new SignSessionInformation(); // SessionTable.generateSessionInformationObject();
si.connector = ud.sig_app;
@@ -405,17 +396,6 @@ public class SignServlet extends HttpServlet
SignServletHelper.finishSign(si, request, response, getServletContext());
- // afitzek: moved to DataURL to provide status information OK - ERROR
- // for performance measurement
- if (statLog.isInfoEnabled()) {
- long endTime = System.currentTimeMillis();
-// String toReport = "SIGN;" + si.mode + ";" + si.filename + ";"+ fileSize + ";" +
- String toReport = "SIGN;" + si.mode + ";" + si.connector + ";" + si.pdfDataSource.getLength() + ";" + (endTime - startTime);
-
- //statLog.info(toReport);
- // afitzek: save old statistik into log file
- log.info(toReport);
- }
}
catch (PresentableException e)
{
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyPreviewServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyPreviewServlet.java
index 6e8ff64..83c8602 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyPreviewServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyPreviewServlet.java
@@ -76,7 +76,7 @@ public class VerifyPreviewServlet extends HttpServlet
* SVUID.
*/
private static final long serialVersionUID = 6954343542890239109L;
-
+
public static String[] REQUIRED_SIG_KEYS = new String[] { "SIG_DATE",
"SIG_ISSUER", "SIG_VALUE", "SIG_NUMBER", "SIG_ID", "SIG_KZ" };
@@ -94,7 +94,7 @@ public class VerifyPreviewServlet extends HttpServlet
RequestDispatcher disp = getServletContext().getRequestDispatcher(resource);
disp.forward(request, response);
}
-
+
protected void dispatchToPreview(HttpServletRequest request, HttpServletResponse response, String signedText, int verify_which)throws ServletException, IOException
{
request.setAttribute(FormFields.FIELD_VERIFY_WHICH, new Integer(verify_which));
@@ -117,13 +117,13 @@ public class VerifyPreviewServlet extends HttpServlet
return backToListURL;
}
-
+
protected static String generateNamePrefix(int num)
{
return SIG_INPUT_PREFIX + num + "_";
}
- public static String renderRequiredKeysJavaScript(ServletContext sc,
+ public static String renderRequiredKeysJavaScript(ServletContext sc,
SignatureInformation signatureInfo, String name_prefix)
{
StringWriter sw = new StringWriter();
@@ -188,7 +188,6 @@ public class VerifyPreviewServlet extends HttpServlet
writer.println(" <td width=\"90%\">");
value = value.replaceAll("\\s", " ");
- // wuhu! replacing all \" with \"
value = value.replaceAll("\\\"", "\\\"");
String input_key = name_prefix + key;
@@ -214,7 +213,7 @@ public class VerifyPreviewServlet extends HttpServlet
// Problem: SignatureTypes.SIG_NAME is defined as Signer-RFC2253Name, but there is not certain
// key for friendly name (e.g. SIG_SUBJECT or SIG_FOO), therefore we do not know which key contains
// the friendly signer name
-
+
// workaround: include "SIG_SUBJECT" since it is usually used
String[] rkeys = { "SIG_NAME", "SIG_SUBJECT", "SIG_DATE", "SIG_ISSUER", "SIG_NUMBER"}; // SignatureTypes.REQUIRED_SIG_KEYS;
@@ -268,9 +267,9 @@ public class VerifyPreviewServlet extends HttpServlet
try
{
Object sessionObject = SessionHelper.getSession(request);
-
+
VerifySessionInformation si = (VerifySessionInformation)sessionObject;
-
+
int verify_which = -1;
boolean preview = false;
@@ -288,7 +287,7 @@ public class VerifyPreviewServlet extends HttpServlet
}
logger_.debug("verify_which = " + verify_which);
}
-
+
{
String preview_string = request.getParameter(FormFields.FIELD_PREVIEW);
if (preview_string.equals("true"))
@@ -305,7 +304,7 @@ public class VerifyPreviewServlet extends HttpServlet
{
throw new SignatureException(312, "The selected signature to be verified doesn't exist.");
}
-
+
SignatureInformation sigInfo = (SignatureInformation) si.analyzeResult.getSignatures().get(verify_which);
holders_to_verify = new ArrayList();
holders_to_verify.add(sigInfo);
@@ -345,7 +344,7 @@ public class VerifyPreviewServlet extends HttpServlet
{
String dispatch_to = LocalRequestHelper.processLocalVerify(pdfAsInternal, si, holders_to_verify, request, response);
dispatch(request, response, dispatch_to);
-
+
return;
}
@@ -375,12 +374,12 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
try
{
Object sessionObject = SessionHelper.getSession(request);
-
+
PdfAsInternal pdfAsInternal = ApiHelper.getPdfAsInternalFromContext(getServletContext());
-
+
VerifySessionInformation si = (VerifySessionInformation)sessionObject;
-
-
+
+
String text_to_be_verified = null;
int verify_which = -1;
@@ -407,7 +406,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
verify_which = Integer.parseInt(which_str);
continue;
}
-
+
if (item.getFieldName().equals("verify"))
{
if (item.getString("UTF-8").equals("true"))
@@ -425,7 +424,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
}
si.analyzeResult = pdfAsInternal.analyzeFromRawText(text_to_be_verified, sigValues);
-
+
if (verify == false)
{
dispatchToDataOk(request, response);
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java
index aef7f19..af54ddb 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java
@@ -165,13 +165,6 @@ public class VerifyServlet extends HttpServlet
dispatchToResults(verifyResults, request, response);
- // for performance measurement
- if (log.isInfoEnabled()) {
- long endTime = System.currentTimeMillis();
- String toReport = "VERIFY;"+ ud.file_name + ";"+ 0 + ";" + (endTime - startTime) + ";" + debugVerifyResults(verifyResults);
- log.info(toReport);
- }
-
}
}
diff --git a/pdf-as-web/src/main/webapp/META-INF/context.xml b/pdf-as-web/src/main/webapp/META-INF/context.xml
index a0de89e..6d79b26 100644
--- a/pdf-as-web/src/main/webapp/META-INF/context.xml
+++ b/pdf-as-web/src/main/webapp/META-INF/context.xml
@@ -1,9 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Context path="/pdf-as" cookies="true" reloadable="false">
+<Context path="/pdf-as" cookies="true" reloadable="false" useHttpOnly="true">
+
<Manager pathname="" />
<!-- Use system property "pdf-as.work-dir" or web.xml parameter "work-dir" instead. -->
<!--
<Parameter name="work-dir" value="${catalina.base}/conf/pdf-as" override="false"/>
-->
+
+ <!-- Enable BOTH environment variables in order to apply www.buergerkarte.at layout. -->
+ <!-- This overrides /WEB-INF/decorators.xml settings. -->
+ <!--
+ <Environment name="production_de" value="/sitemesh/buergerkarte_at.jsp?lang=de" type="java.lang.String" />
+ <Environment name="production_en" value="/sitemesh/buergerkarte_at.jsp?lang=en" type="java.lang.String" />
+ -->
+
</Context>
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml b/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml
index 6585f97..e1fff32 100644
--- a/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml
+++ b/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml
@@ -5,6 +5,11 @@
<pattern>*.pdf</pattern>
<pattern>/*.pdf</pattern>
</excludes>
- <decorator name="production_de" page="/sitemesh/standalone.jsp?lang=de"/>
- <decorator name="production_en" page="/sitemesh/standalone.jsp?lang=en"/>
+
+ <!-- Default layout if no other layout has been chosen. -->
+ <!-- In order to apply other layouts, modify the context element information
+ (${catalina.home}/conf/Catalina/localhost/pdf-as.xml) -->
+ <decorator name="production_de" page="/sitemesh/standalone.jsp?locale=de" />
+ <decorator name="production_en" page="/sitemesh/standalone.jsp?locale=en" />
+
</decorators> \ No newline at end of file
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml b/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml
index c6653cc..cda7eb3 100644
--- a/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml
+++ b/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml
@@ -1,30 +1,27 @@
<sitemesh>
+
<property name="decorators-file" value="/WEB-INF/decorators.xml"/>
<excludes file="${decorators-file}"/>
<page-parsers>
<parser content-type="text/html" class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
</page-parsers>
+
<decorator-mappers>
+
<mapper class="com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper">
<param name="property.1" value="meta.decorator" />
<param name="property.2" value="decorator" />
</mapper>
- <!--
- <mapper class="com.opensymphony.module.sitemesh.mapper.LanguageDecoratorMapper">
- <param name="match.en" value="en" />
- </mapper>
- -->
+
<mapper class="at.gv.egiz.pdfas.web.i18n.LanguageDecoratorMapper"/>
+
<mapper class="com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper"/>
- <mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper">
- <param name="decorator" value="printable" />
- <param name="parameter.name" value="printable" />
- <param name="parameter.value" value="true" />
- </mapper>
- <mapper class="com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper"/>
- <mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.EnvEntryDecoratorMapper">
<param name="config" value="${decorators-file}" />
</mapper>
+
</decorator-mappers>
+
</sitemesh>
diff --git a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp
index 58442d6..5e992df 100644
--- a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp
@@ -36,12 +36,13 @@
isLocalBKU = Constants.SIGNATURE_DEVICE_BKU.equals(ssi.connector);
isMobileBKU = Constants.SIGNATURE_DEVICE_MOBILE.equals(ssi.connector);
isMobileTest = Constants.SIGNATURE_DEVICE_MOBILETEST.equals(ssi.connector);
- } else {
+ } else if (si instanceof VerifySessionInformation) {
VerifySessionInformation vsi = (VerifySessionInformation) si;
isExternalInvocation = vsi.exappinf != null;
isServerBKU = Constants.SIGNATURE_DEVICE_MOC.equals(vsi.connector);
- isLocalBKU = Constants.SIGNATURE_DEVICE_BKU.equals(ssi.connector);
- isMobileBKU = Constants.SIGNATURE_DEVICE_MOBILE.equals(ssi.connector);
+ isLocalBKU = Constants.SIGNATURE_DEVICE_BKU.equals(vsi.connector);
+ isMobileBKU = Constants.SIGNATURE_DEVICE_MOBILE.equals(vsi.connector);
+ isMobileTest = Constants.SIGNATURE_DEVICE_MOBILETEST.equals(vsi.connector);
}
boolean testMode = request.getContextPath().startsWith("/test-");
diff --git a/pdf-as-web/src/main/webapp/sitemesh/buergerkarte_at.jsp b/pdf-as-web/src/main/webapp/sitemesh/buergerkarte_at.jsp
new file mode 100644
index 0000000..4bb19ff
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/sitemesh/buergerkarte_at.jsp
@@ -0,0 +1,227 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
+<%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
+
+<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
+<%@ page import="at.gv.egiz.pdfas.web.helper.LocalRequestHelper" %>
+
+<%@ page import="java.net.URL" %>
+<%@ page import="java.net.URLConnection" %>
+<%@ page import="java.io.InputStream" %>
+<%@ page import="java.io.InputStreamReader" %>
+<%@ page import="java.io.BufferedReader" %>
+<%@ page import="net.htmlparser.jericho.Source" %>
+<%@ page import="net.htmlparser.jericho.Element" %>
+<%@ page import="net.htmlparser.jericho.Attributes" %>
+<%@ page import="net.htmlparser.jericho.Attribute" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="java.util.Locale" %>
+<%@ page import="at.gv.egiz.pdfas.web.i18n.LocaleParamFilter" %>
+<%@ page import="java.nio.charset.Charset" %>
+<%@ page import="at.gv.egiz.pdfas.web.session.SessionAttributes" %>
+
+
+<%@page import="java.nio.charset.Charset"%>
+
+ <html>
+ <head>
+
+ <script language="javascript" type="text/javascript">
+ //Submit the form when the change language button was hit
+ function submit() {
+ var file = document.submitform.source.options[0].selected;
+ if (file) {
+ document.changelanguage.source_mode.value='file';
+ }
+ else {
+ document.changelanguage.source_mode.value='text';
+ document.changelanguage.text.value=document.getElementById('freetext').value;
+ }
+ document.changelanguage.submit();
+ }
+ </script>
+
+ <%
+
+ String headerUrl="http://www.buergerkarte.at/header.php?lang=";
+ //String headerUrl="http://www.buergerkarte.at/header.php";
+ String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response);
+ String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response);
+
+ String requestLang = (String)session.getAttribute(SessionAttributes.LANGUAGE);
+
+ String language = "";
+
+ URL urlHeader = new URL(headerUrl);
+
+ if (requestLang!=null) {
+ if (requestLang.equals("de")) {
+ urlHeader = new URL(headerUrl+"de");
+ language="de";
+ }
+ else {
+ urlHeader = new URL(headerUrl+"en");
+ language="en";
+ }
+ }
+ else {
+ requestLang = request.getParameter("lang");
+ if (requestLang!=null) {
+ if (requestLang.equals("de")) {
+ urlHeader = new URL(headerUrl+"de");
+ language="de";
+ }
+ else {
+ urlHeader = new URL(headerUrl+"en");
+ language="en";
+ }
+ }
+ else {
+ urlHeader = new URL(headerUrl+"de");
+ language="de";
+ }
+ }
+
+ URLConnection ucHeader = urlHeader.openConnection();
+
+ InputStream isHeader = ucHeader.getInputStream();
+
+ //Read the header php files from the server
+ BufferedReader brHeader = new BufferedReader(new InputStreamReader(isHeader, Charset.forName("UTF-8")));
+
+ String phpLine="";
+ String phpHeader="";
+ while ((phpLine=brHeader.readLine())!=null) {
+ phpHeader += phpLine;
+ }
+
+ phpHeader = phpHeader.substring(phpHeader.indexOf("<body"), phpHeader.length());
+
+ Source source = new Source(phpHeader);
+ List list = source.getAllElements();
+ Iterator it = list.iterator();
+ while (it.hasNext()) {
+ Element element = (Element)it.next();
+
+ //Set the absolute path for each element with src or href
+ String attributeValueSrc = element.getAttributeValue("src");
+ String attributeValueHref = element.getAttributeValue("href");
+
+ if ((attributeValueSrc!=null) || (attributeValueHref!=null)) {
+
+ String attribute = "";
+
+ if ((attributeValueSrc!=null) && (attributeValueHref!=null)) {
+ phpHeader = phpHeader.replace(attributeValueSrc, serverUrl+attributeValueSrc);
+ phpHeader = phpHeader.replace(attributeValueHref, serverUrl+attributeValueHref);
+ }
+ else {
+ if (attributeValueSrc!=null) {
+ phpHeader = phpHeader.replace(attributeValueSrc, serverUrl+attributeValueSrc);
+ }
+ if (attributeValueHref!=null) {
+ phpHeader = phpHeader.replace(attributeValueHref, serverUrl+attributeValueHref);
+ }
+ }
+ }
+
+ }
+
+ //Insert sitemap
+ Element breadcrumbsDiv = source.getElementById("breadcrumbs");
+ if (breadcrumbsDiv!=null) {
+ String replaceString = "";
+ if (language.equals("de")) {
+ replaceString = "<div id=\"breadcrumbs\"><em>Sie sind hier:</em> <a href=\""+serverUrl+"index.de.php\"> Startseite </a> &gt; <a href=\""+serverUrl+"pdf-signatur.de.php\">PDF-Signatur</a> &gt; PDF-Signatur \n</div>";
+ }
+ else {
+ replaceString = "<div id=\"breadcrumbs\"><em>You are here:</em> <a href=\""+serverUrl+"index.en.php\"> Start page </a> &gt; <a href=\""+serverUrl+"pdf-signatur.en.php\">PDF-Signatures</a> &gt; PDF-Signature \n</div>";
+ }
+ phpHeader = phpHeader.replace(breadcrumbsDiv, replaceString);
+ }
+
+
+
+ //Insert a hidden language fake link, that is shown when the change of language is disabled
+ source = new Source(phpHeader);
+
+ Element element = source.getElementById("sprachlinkneu");
+
+ if (element!=null) {
+ String languagelink;
+ int positionToInsertLangLink = 0;
+ int positionToEndLangLink = 0;
+ positionToInsertLangLink=element.getBegin();
+ positionToEndLangLink=element.getEnd();
+ if (!language.equals("de")) {
+ languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"de\">Deutsch</a></li>";
+ }
+ else {
+ languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"en\">English</a></li>";
+ }
+ String firstPart = phpHeader.substring(0, positionToInsertLangLink);
+ String secondPart = phpHeader.substring(positionToEndLangLink, phpHeader.length());
+ phpHeader = firstPart+languagelink+secondPart;
+ }
+ else {
+ int positionToEnd=0;
+ list = source.getAllElements("li");
+ it = list.iterator();
+ int i=0;
+ while (it.hasNext()) {
+ element = (Element)it.next();
+ if (i==5) {
+ positionToEnd = element.getEnd();
+ }
+ i++;
+ }
+ String languagelink;
+ if (!language.equals("de")) {
+ languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"de\">Deutsch</a></li>";
+ }
+ else {
+ languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"en\">English</a></li>";
+ }
+ String firstPart = phpHeader.substring(0, positionToEnd);
+ String secondPart = phpHeader.substring(positionToEnd, phpHeader.length());
+ phpHeader = firstPart+languagelink+secondPart;
+ }
+
+
+
+
+ %>
+ <title>PDF Signature</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <%
+ if (language.equals("de")) { %>
+ <meta http-equiv="Content-Language" content="de" />
+ <% } else { %>
+ <meta http-equiv="Content-Language" content="en" />
+ <% } %>
+ <meta http-equiv="Content-Style-Type" content="text/css" />
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
+ <meta name="Description" content="B&uuml;rgerkarte" />
+ <meta name="Keywords" content="Citizen Card, Austrian Citizen Card, Citizen Card Austria" />
+ <decorator:head/>
+ <link rel="stylesheet" type="text/css" href="<%=baseUrl %>/css/pdfas-styles.css" />
+ <link rel="shortcut icon" href="<%=serverUrl %>dateien/favicon.ico" type="image/vnd.microsoft.icon" />
+ <link rel="stylesheet" href="<%=serverUrl %>style.css" type="text/css" />
+ </head>
+
+ <%= phpHeader %>
+ <!-- mitte -->
+ <div id="mitte">
+ <!-- inhalt -->
+ <div class="inhalt" id="inhalt">
+ <!-- pdfas-container -->
+ <div id="pdfas-container">
+ <decorator:body/>
+ </div><!-- pdfas-container -->
+ </div><!-- inhalt -->
+ </div><!-- mitte -->
+ </div>
+ </body>
+</html>
diff --git a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
index 4bb19ff..4116890 100644
--- a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
+++ b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
@@ -1,227 +1,27 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<?xml version="1.0" encoding="UTF-8" ?>
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
-<%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
-
-<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
+<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<%@ page import="at.gv.egiz.pdfas.web.helper.LocalRequestHelper" %>
-<%@ page import="java.net.URL" %>
-<%@ page import="java.net.URLConnection" %>
-<%@ page import="java.io.InputStream" %>
-<%@ page import="java.io.InputStreamReader" %>
-<%@ page import="java.io.BufferedReader" %>
-<%@ page import="net.htmlparser.jericho.Source" %>
-<%@ page import="net.htmlparser.jericho.Element" %>
-<%@ page import="net.htmlparser.jericho.Attributes" %>
-<%@ page import="net.htmlparser.jericho.Attribute" %>
-<%@ page import="java.util.List" %>
-<%@ page import="java.util.Iterator" %>
-<%@ page import="java.util.Locale" %>
-<%@ page import="at.gv.egiz.pdfas.web.i18n.LocaleParamFilter" %>
-<%@ page import="java.nio.charset.Charset" %>
-<%@ page import="at.gv.egiz.pdfas.web.session.SessionAttributes" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<html>
-<%@page import="java.nio.charset.Charset"%>
-
- <html>
<head>
-
- <script language="javascript" type="text/javascript">
- //Submit the form when the change language button was hit
- function submit() {
- var file = document.submitform.source.options[0].selected;
- if (file) {
- document.changelanguage.source_mode.value='file';
- }
- else {
- document.changelanguage.source_mode.value='text';
- document.changelanguage.text.value=document.getElementById('freetext').value;
- }
- document.changelanguage.submit();
- }
- </script>
-
- <%
-
- String headerUrl="http://www.buergerkarte.at/header.php?lang=";
- //String headerUrl="http://www.buergerkarte.at/header.php";
- String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response);
- String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response);
-
- String requestLang = (String)session.getAttribute(SessionAttributes.LANGUAGE);
-
- String language = "";
-
- URL urlHeader = new URL(headerUrl);
-
- if (requestLang!=null) {
- if (requestLang.equals("de")) {
- urlHeader = new URL(headerUrl+"de");
- language="de";
- }
- else {
- urlHeader = new URL(headerUrl+"en");
- language="en";
- }
- }
- else {
- requestLang = request.getParameter("lang");
- if (requestLang!=null) {
- if (requestLang.equals("de")) {
- urlHeader = new URL(headerUrl+"de");
- language="de";
- }
- else {
- urlHeader = new URL(headerUrl+"en");
- language="en";
- }
- }
- else {
- urlHeader = new URL(headerUrl+"de");
- language="de";
- }
- }
-
- URLConnection ucHeader = urlHeader.openConnection();
-
- InputStream isHeader = ucHeader.getInputStream();
-
- //Read the header php files from the server
- BufferedReader brHeader = new BufferedReader(new InputStreamReader(isHeader, Charset.forName("UTF-8")));
-
- String phpLine="";
- String phpHeader="";
- while ((phpLine=brHeader.readLine())!=null) {
- phpHeader += phpLine;
- }
-
- phpHeader = phpHeader.substring(phpHeader.indexOf("<body"), phpHeader.length());
-
- Source source = new Source(phpHeader);
- List list = source.getAllElements();
- Iterator it = list.iterator();
- while (it.hasNext()) {
- Element element = (Element)it.next();
-
- //Set the absolute path for each element with src or href
- String attributeValueSrc = element.getAttributeValue("src");
- String attributeValueHref = element.getAttributeValue("href");
-
- if ((attributeValueSrc!=null) || (attributeValueHref!=null)) {
-
- String attribute = "";
-
- if ((attributeValueSrc!=null) && (attributeValueHref!=null)) {
- phpHeader = phpHeader.replace(attributeValueSrc, serverUrl+attributeValueSrc);
- phpHeader = phpHeader.replace(attributeValueHref, serverUrl+attributeValueHref);
- }
- else {
- if (attributeValueSrc!=null) {
- phpHeader = phpHeader.replace(attributeValueSrc, serverUrl+attributeValueSrc);
- }
- if (attributeValueHref!=null) {
- phpHeader = phpHeader.replace(attributeValueHref, serverUrl+attributeValueHref);
- }
- }
- }
-
- }
-
- //Insert sitemap
- Element breadcrumbsDiv = source.getElementById("breadcrumbs");
- if (breadcrumbsDiv!=null) {
- String replaceString = "";
- if (language.equals("de")) {
- replaceString = "<div id=\"breadcrumbs\"><em>Sie sind hier:</em> <a href=\""+serverUrl+"index.de.php\"> Startseite </a> &gt; <a href=\""+serverUrl+"pdf-signatur.de.php\">PDF-Signatur</a> &gt; PDF-Signatur \n</div>";
- }
- else {
- replaceString = "<div id=\"breadcrumbs\"><em>You are here:</em> <a href=\""+serverUrl+"index.en.php\"> Start page </a> &gt; <a href=\""+serverUrl+"pdf-signatur.en.php\">PDF-Signatures</a> &gt; PDF-Signature \n</div>";
- }
- phpHeader = phpHeader.replace(breadcrumbsDiv, replaceString);
- }
-
-
-
- //Insert a hidden language fake link, that is shown when the change of language is disabled
- source = new Source(phpHeader);
-
- Element element = source.getElementById("sprachlinkneu");
-
- if (element!=null) {
- String languagelink;
- int positionToInsertLangLink = 0;
- int positionToEndLangLink = 0;
- positionToInsertLangLink=element.getBegin();
- positionToEndLangLink=element.getEnd();
- if (!language.equals("de")) {
- languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"de\">Deutsch</a></li>";
- }
- else {
- languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"en\">English</a></li>";
- }
- String firstPart = phpHeader.substring(0, positionToInsertLangLink);
- String secondPart = phpHeader.substring(positionToEndLangLink, phpHeader.length());
- phpHeader = firstPart+languagelink+secondPart;
- }
- else {
- int positionToEnd=0;
- list = source.getAllElements("li");
- it = list.iterator();
- int i=0;
- while (it.hasNext()) {
- element = (Element)it.next();
- if (i==5) {
- positionToEnd = element.getEnd();
- }
- i++;
- }
- String languagelink;
- if (!language.equals("de")) {
- languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"de\">Deutsch</a></li>";
- }
- else {
- languagelink = "<li id=\"sprachlinkneu\"><a href=\"#\" onclick=\"submit()\" hreflang=\"en\">English</a></li>";
- }
- String firstPart = phpHeader.substring(0, positionToEnd);
- String secondPart = phpHeader.substring(positionToEnd, phpHeader.length());
- phpHeader = firstPart+languagelink+secondPart;
- }
-
-
-
-
- %>
- <title>PDF Signature</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <%
- if (language.equals("de")) { %>
- <meta http-equiv="Content-Language" content="de" />
- <% } else { %>
- <meta http-equiv="Content-Language" content="en" />
- <% } %>
- <meta http-equiv="Content-Style-Type" content="text/css" />
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
- <meta name="Description" content="B&uuml;rgerkarte" />
- <meta name="Keywords" content="Citizen Card, Austrian Citizen Card, Citizen Card Austria" />
<decorator:head/>
- <link rel="stylesheet" type="text/css" href="<%=baseUrl %>/css/pdfas-styles.css" />
- <link rel="shortcut icon" href="<%=serverUrl %>dateien/favicon.ico" type="image/vnd.microsoft.icon" />
- <link rel="stylesheet" href="<%=serverUrl %>style.css" type="text/css" />
+ <!--
+ <link rel="stylesheet" type="text/css" href="<%=LocalRequestHelper.getLocalContextAddress(request, response)%>/css/pdfas-styles.css" />
+ -->
+ <title><fmt:message key="common.title" /></title>
+ <!--
+ <link rel="stylesheet" type="text/css" href="<%=LocalRequestHelper.getLocalContextAddress(request, response)%>/css/pdfas-standalone-styles.css" />
+ -->
</head>
-
- <%= phpHeader %>
- <!-- mitte -->
- <div id="mitte">
- <!-- inhalt -->
- <div class="inhalt" id="inhalt">
- <!-- pdfas-container -->
- <div id="pdfas-container">
- <decorator:body/>
- </div><!-- pdfas-container -->
- </div><!-- inhalt -->
- </div><!-- mitte -->
- </div>
+
+ <body>
+ <decorator:body/>
</body>
+
</html>