cancel
Showing results for 
Search instead for 
Did you mean: 

Encryption

Devilot_78
Champ in-the-making
Champ in-the-making

Hi, I'm trying to add my custom encryption for files on storage, but I've several doubts:

  1. I think have to create a jar module with my implementation, extending DefaultBinaryMagager (getBinary and storeAndDigest) I guess... but cannot found maven dependencies for maven project of my module so I can't create a class that extends existing one
  2. Once module is "jared", I've to write an extension point xml, declaring there my module class (es org.nuxeo.XXX.XXX.CustomEncryptionBinaryManager)? It's also necessary declare it as BinaryManager in nuxeo.conf with notation "nuxeo.core.binarymanager=org.nuxeo.ecm.core.storage.sql.CustomEncryptionBinaryManager"? Thank you
1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

Yes you need to create a JAR containing your code. To build the JAR you will likely use Maven and therefore need proper dependencies on the base Nuxeo JARs containing the interfaces you implement and the classes you extend. This is standard Java/Maven development. Please start at https://doc.nuxeo.com/corg/ if you're not familiar with the process.

And yes you will then have to change the configuration to use your class instead of the standard one.

Note that Nuxeo already contains an AES-based encrypting binary manager, see https://doc.nuxeo.com/nxdoc/implementing-encryption/ for more.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.