aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets
AgeCommit message (Collapse)AuthorFilesLines
2010-12-06Moved to pdf-as-web projectpdanner8-2616/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@675 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@645 ↵pdanner1-2/+3
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-10-07Provide profile description via API call.tknall3-9/+8
More logging. WebApp: Bugfix for IE9 (download Link accessed twice) WebApp: Prevent Set-Cookie to be sent to BKU WebApp: Statistical logging added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@592 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-08-12more loggingtknall1-1/+10
new errorcode for invalid signature dictionary (232) detect invalid signature dictionary detect errors (invalid glyph mappings) when extracting text remove useless certificate digest calculation remove invocation of erroneous getCertDigest method webapp: hotfix for NPE adjustments for new mocca (applet) version (layout) POM: removed deprecated maven elements git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@587 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-04-08minor updates of the web application, more logging added, ↵tknall1-1/+3
default-configuration: a-trust ccs support disabled until bugfixes ccs version is available, pdf-as configuration: small signature profile added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@581 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-03-16Catching OutOfMemory exceptions, returning appropriate error message/codetknall3-33/+95
Binary signature: bug concerning indirect pdf objects fixed SignaturePositioning improved (Signature position can be declared by String which is parsed) Some more error codes (Out of memory, Invalid signature position) iText utility for creation of pdf files added ConfigUtils updated (destination of configuration to be extracted can now be chosen) PDFASUtils updated (more tools) WebApplication: Freetext pdf creation implemented WebApplication: XSS security updates git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@580 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-19- handling protected documents improved.tknall1-0/+5
- minor web application improvements git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@557 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-21web application: many minor improvements (pdf/a selection for instance)tknall2-2/+9
Adobe signature attribute: added feature allowing configuration of field "reason" configuration updates default configuration updated git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@521 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-04-27New signature layout for new MOCCA bku integrated (etsi-moc-1.1).tknall1-14/+14
New architecture implemented that allows different signature layouts for single types of BKUs. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@337 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-03-19Build script for command line version updated.tknall2-23/+41
JavaDoc fixes. Some updates for debugging messages. Parser for MOCCA-CreateXMLSignatureResponses enhanced. Many updates and fixes for the external web app interface. New profile for invisible signatures added. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@333 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-02-04Some more log messages (e.g. encoding related issues).tknall3-3/+4
Updating web application (in external invocation mode) enhancing support for being used within an iframe. Two new (optional) parameters for external invocation mode: locale: defines the locale being used for webapp (e.g. locale=de or locale=de_DE), invoke-app-error-url: can be used to declare a callback url to the calling web application in order to transfer error messages from pdf-as. In case of error pdf-as redirects the user to the error-page-url (if given) providing the error and the cause in url encoded parameters ("error", "cause"). Formatter for mocca signature params enhanced. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@323 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-01-14Switching to itext-2.1.5-rev3628.tknall5-10/+64
itext library: minor adjustments for pdf-as Adding new error code (103) for invalid pdfa/1b font configuration. Minor updates for PDF/A support. Support for local MOCCA CCS added. Multi language for web application. Encoding issue for web application fixed by implementing an EncodingFilter. Dynamic sign upload form implemented. Order of input fields for dynamic upload form changed. MOCCA logo added to sign upload form. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@319 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-10-10Deprecated webapp-folder removed from svn repository.tknall4-22/+80
New DefaultConfiguration.zip integrated in order to allow mocca signatures. Minor bug concerning choice of cce within the web application fixed. Signature with new online bku MOCCA integrated (new signature device "moc" created). Configuration keys for mocca added. New error codes (371 = signature verification not supported by this connector, 372 = invalid signing time) introduced. Optional check of the signing time for the web application implemented. At signature creation time the signing time is checked for plausibility. This is a workaround for the ITS:mac-linux signing time bug. New configuration key ("signing_time_tolerance") added (applies to web application only) to overcome invalid signing times. A signature is only accepted if its signing time is within a time frame of [current time - signing_time_tolerance, current time + signing_time_tolerance] where signing_time_tolerance is interpreted as seconds. Bugfix: Correct extraction of signatures with wrong signing times implemented. (The order of the signatures is still invalid in case of false signing times.) Optional override of the dynamic creation of the signature retrieval url (locrefcontent) implemented in order to overcome ssl problems (retrieve_signature_data_url_override). Note: Assure that this URL is accessible from the citizen card environment. Download of signed pdf-file for external application interface adjusted. Verification of mocca signed documents implemented. Retrieval of xml response via multipart implemented (mocca strictly follows security layer spec) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@296 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-17(Default) configuration updated regarding new configuration keys.tknall7-20/+24
Update concerting exclusion of minimal layout profiles for verification. APIDemo updated. Many printStackTraces replaces with logger-messages. Web-Application: New error code (251) introduced: Textual signature of files with no extractable textual content (e.g. files that solely contain images) is prevented. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@293 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-13Detection of incremental updates updated.tknall1-1/+1
Bug fixed. There was an error concerning empty HashInputData parsing a MOA CreateXMLSignatureResponse. Demo source for API usage created. Issue resolved: Prevent signature of empty document which leads to a meaningless error message from the bku. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@284 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-09Web-Application: Configuration may be declared via system property ↵tknall6-26/+57
"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. Web-Application: Session is now being invalidated after download of the signed pdf file. Web-Application: Every hardcoded context "pdf-as" has been replaced. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@277 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-04-29a) Two stage verification (analysis and verification) now throws ↵REL-3.0.5-rev260@260tknall1-1/+2
PDFDocumentException(ErrorCode.DOCUMENT_NOT_SIGNED,...) if necessary. b) Do not try to remove svn-metadata while clearing temporary directory any more (preventing annoying error message). git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@259 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-04-03Web application adapted for Maven2 (/webapps -> /src/main/webapps).tknall4-77/+103
Recognition of citizen card environment integrated. New style sheets. Web app classes adapted in order to avoid popup blocker of ie7 and to avoid an ITS bku bug. Maven2 repository updated. Eclipse project settings adapted in order to enable Eclipse Web Tools Platform usage. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@256 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-01-18update dealing with incremental updatestknall1-2/+15
(NoSignatureHolder introduced that indicates incremental updates. NoSignatureHolders are transported as SignatureHolder withing analysis but are finally removed to maintain compatibility. This allowes to show which signatures are followed by incremental updates containing no signature. If the last signature is followed by an incremental update, an exception is thrown to indicate an illegal modification. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@248 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-12-17Change Request "Document Correction"netconomy1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@239 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-11-29PDF-AS APInetconomy1-2/+17
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@233 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-10-05minor bugfix parsing of parameter "preview" of SignServlettknall1-2/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@221 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-21Erweiterte MIME-Types werden akzeptiert (nun auch application/..)knowcenter1-1/+16
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@218 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-16minor bug fixed (query url for external webapp was not correctly built)tknall1-8/+15
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@212 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-06Streaming Rückbaunetconomy1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@211 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-06Streaming Rückbaunetconomy2-6/+6
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@210 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-03Performance-Loggingknowcenter2-0/+59
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@208 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-27bugfix "IE 6/7 upload"netconomy2-4/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@200 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-17Performancenetconomy6-547/+549
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@167 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-30Problem with SIG_ID field by MOA textual signs solvedknowcenter1-5/+6
Problem with Vorschau solved git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@166 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-27git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@164 ↵tzefferer1-25/+151
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-27git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@163 ↵tzefferer1-0/+73
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-26Verification of single signatures now works. Error page (error.jsp) uses CSS ↵knowcenter1-3/+10
formating. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@158 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-25ID field by MOA signs not visible anymoreknowcenter1-0/+1
No problems with BKU results page (CSS, Zurueck) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@155 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-24Stable version.knowcenter2-6/+4
Known problems: Verification with MOA 1.0.0 signatures git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@151 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-24Template Versioning, BKU and MOA 1.1.0 (detached)knowcenter3-19/+8
NOTE: MOA enveloping is still not fixed git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@149 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-23git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@142 ↵REL-2.46@144knowcenter1-2/+2
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-23git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@141 ↵knowcenter1-2/+2
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-23git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@140 ↵knowcenter1-1/+14
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-06-01detached moaknowcenter1-2/+11
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@119 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-05-18detached connectorsknowcenter3-21/+16
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@92 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-05-17webknowcenter6-0/+2011
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@87 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c