Skip to content

keensoft/alfresco-firma-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alfresco-firma

** IMPORTANT NOTICE **

New electronic signature addon by using client electronic certificates is available at alfresco-esign-cert

alfresco-firma-pdf only supports applet, but alfresco-esign-cert supports also local application

alfresco-esign-cert allows additionally client signature by using Google Chrome, iOS and Android

Provides an Alfresco Share action for signing PDF files (PAdES-BES format) and any other file (CAdES-BES format detached) via java applet (@firma miniApplet, opensource at https://github.com/ctt-gob-es/clienteafirma).

This module uses a software digital certificate or a cryptographic hardware supported by a smart card.

The plugin is licensed under the LGPL v3.0. The current version is 0.9.0, which is compatible with Alfresco 4.2.c-f and 5.0.a-d.

alfresco-firma-pdf-ks

Downloading the ready-to-deploy-plugin

The binary distribution is made of two amp files:

You can install them by using standard Alfresco deployment tools

Building the artifacts

If you are new to Alfresco and the Alfresco Maven SDK, you should start by reading Jeff Potts' tutorial on the subject.

You can build the artifacts from source code using maven $ mvn clean package

Signing the applet

You can download plain applet from http://forja-ctt.administracionelectronica.gob.es/web/clienteafirma

Oracle jarsigner can be used to perform a signature on miniapplet-full_1_3.jar. To deploy this change, just replace current JAR for your signed JAR and rebuild the artifacts.

Running under SSL

Signature window is built on an IFRAME, so when running Alfresco under SSL, following JavaScript console error may appear:

Refused to display 'https://alfresco.keensoft.es/share/sign/sign-frame.jsp?mimeType=pdf' in a frame because it set 'X-Frame-Options' to 'DENY'.

If so, check your web server configuration in order to set appropiate X-Frame-Options header value.

For instance, Apache HTTP default configuration for SSL includes...

Header always set X-Frame-Options DENY

... and it should be set to SAMEORIGIN instead

Header always set X-Frame-Options SAMEORIGIN

alfresco-firma (Spanish version)

Plugin para Alfresco que permite usar este como portafirmas gracias a la inclusión de una nueva acción para firmar documentos PDF (PAdES-BES) y para firmar el resto de documentos (CAdES-BES detached).

Presentación

Portada

Documentación

Disponible en el directorio docs:

  • Manual de instalación.
  • Manual de usuario.
  • Alfresco como portafirmas mediante el módulo de firma pdf.

Licencia

Este desarrollo esta bajo licencia LGPL v3.0.