# PdfSignature Plugin

**URL:** <https://forum.servoy.com/t/pdfsignature-plugin/17712>\
**Category:** Classic Servoy\
**Created:** [January 5, 2014, 10:08pm UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712 "2014-01-05T22:08:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roberto\_Blasco](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@Roberto\_Blasco](https://forum.servoy.com/u/Roberto_Blasco)\
**Post date:** [January 5, 2014, 10:08pm UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712/1 "2014-01-05T22:08:38Z")

</div>

Hi all.

I’m rewriting the PdfSignature plugin with the new version of iText (5.3.4). This version has the AFFERO GENERAL PUBLIC LICENSE (AGPL).

Is it ilegal to place this plugin in Servoy Forge with this kind of license?

Best regards. Roberto Blasco

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [January 6, 2014, 5:34am UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712/2 "2014-01-06T05:34:09Z")

</div>

Hi Roberto,

[AGPL](http://opensource.org/licenses/AGPL-3.0) complies with the [Open Source Definition](http://opensource.org/osd) and is also reviewed and approved by [The Open Source Initiative (OSI)](http://opensource.org/licenses).  
So to answer your question, a component with the AGPL license is fine to be hosted on ServoyForge.

---

<div class="post-metadata">

**Author:** ![Roberto\_Blasco](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@Roberto\_Blasco](https://forum.servoy.com/u/Roberto_Blasco)\
**Post date:** [January 6, 2014, 10:15am UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712/3 "2014-01-06T10:15:11Z")

</div>

Thanks a lot ROCLASI.

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [January 7, 2014, 8:49pm UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712/4 "2014-01-07T20:49:41Z")

</div>

Roberto, just be aware that most other plugins (Jasper/Velocity/PDF output) are still using v3.1.7 of iText, so using a newer version in your plugin will introduce some compatibility issues with these other plugins…

---

<div class="post-metadata">

**Author:** ![Roberto\_Blasco](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@Roberto\_Blasco](https://forum.servoy.com/u/Roberto_Blasco)\
**Post date:** [January 9, 2014, 10:45am UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712/5 "2014-01-09T10:45:02Z")

</div>

Thanks **ptalbot**

The libraries are placed in a separate directory inside the plugins directory

> [+] plugins
> 
> - jpdfsign.jar
> - jpdfsign.jar.jnlp  
> [+] jpdfsing
> - bcpkix-jdk15on-1.47.jar
> - bcprov-jdk15on-1.47.jar  
> -itextpdf-5.3.4.jar

There will be compatibility issues with this structure?

Best Regards. Roberto Blasco,

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [January 9, 2014, 1:50pm UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712/6 "2014-01-09T13:50:54Z")

</div>

Doesn’t matter where iText is placed, all the jars in /plugins will be loaded (in headless and web client and in developer and via their respective jnlp for smart client). If another version is somewhere in your plugins directory, then there’s no guarantee which version will be loaded first and used (could be 3.1.7 or your 5.3.4), so you will probably have some ClassNotFoundException or MethodNotFoundException at some point, either in your PDFSignature plugin or in Jasper/Velocity/PDF output plugins. There’s only one classloader in the end.

---

<div class="post-metadata">

**Author:** ![Roberto\_Blasco](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@Roberto\_Blasco](https://forum.servoy.com/u/Roberto_Blasco)\
**Post date:** [January 9, 2014, 5:45pm UTC](https://forum.servoy.com/t/pdfsignature-plugin/17712/7 "2014-01-09T17:45:07Z")

</div>

Ok, thanks, **ptalbot**.
