Release History
Manual deployment of pdf-as configuration (commandline parameter -ddc) considers the system property pdf-as.work-dir.
Internal default configuration updated.
log4.properties within the workdir is now being considered using the api.
Support of a minimal signature mark layout for binary signatures added.
Web-Application: Every hardcoded context "pdf-as" has been replaced.
Web-Application: Session is now being invalidated after download of the signed pdf file.
Web-Application: Configuration may be declared via system property "pdf-as.work-dir" or via Servlet-Init-Parameter "work-dir".
Bug fixed in RetrieveSignatureDataServlet: Response header didn't contain a content length attribute. The ITS Mac BKU rejects those requests.
Workaround for ITS Mac BKU integrated. A redirect via response does only work if the response contains a valid SL request (e.g. a NullOperationRequest).
API: The configuration folder may be omitted at instantiating the api. Configuration may be set via system property "pdf-as.work-dir". If no configuration is given at all, the current user's home directory is searched for a folder "PDF-AS". If not found a default configuration is created.
If the configuration is explicitely given than the temporary folder is located within the given directory otherwise within the user's temporary directory.
Declaring the configuration folder, replacements for system properties like "${catalina.base}/conf/pdfas" may be used.
Bug fixed: If we have a binary signature, the
certificate is embedded. So there should be no serial
number needed within the signature block. PDF-AS stores
the certificate in the certstore but tries to load the
certificate via serialnumber and issuername from
certstore, which fails because of the missing serial
number.
Bug fixed: For storage of the certificate in the
certstore the issuername is taken from the certificate,
normalized and hashed. The base64 value of the hash is
used as the directory name. Loading the certificate from
the certstore, the issuername is taken from the
signature block, normalized and hashed. Some issuernames
(with rdns that are not registered) lead to two
different hash values (one at storage, another at
retrieval), which leads to a certificate not found
exception.
PDF-AS library version is logged in order to lighten
bugfixing.