Hi,
I'm trying to unlock/remove password on a password protected and reader extended document in a long lived process. Below is the workflow description
A batch process that fires periodically to send service feedback forms to customers.
- Long lived process to Gather data ---> Render Dynamic pdf ---> Password Protect (to disable printing and extracting pages) ---> Reader Extend (for saving edited pdf on client machine) ---> Send Email to customer.
- Long lived process to Receive feedback via Email endpoint --> Remove/Unlock (?) password ---> Extract data from PDF ---> further operations to update data in tables.
My findings:
- Remove PDF Password Encryption (Failed here) ---> Extract data
- Error: ALC-ENC-100-005 You cannot change security on this document because the document is signed or certified or reader extended.: ALC-ENC-100-005 You cannot change security on this document because the document is signed or certified or reader extended.
- Remove Usage Rights ---> Remove PDF Password Encryption ---> Extract data == SUCCESS
- Unlock Password Encrypted PDF ----> Extract Data (Failed here)
- Error: com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException: Security Manager for decryption is not set: com.adobe.livecycle.formdataintegration.client.ExportFormDataException: com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException: Security Manager for decryption is not set
- Remove Usage Rights ---> Unlock PDF Password ---> Extract data (Failed here)
- Error: com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException: Security Manager for decryption is not set: com.adobe.livecycle.formdataintegration.client.ExportFormDataException: com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException: Security Manager for decryption is not set
- Error: com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException: Security Manager for decryption is not set: com.adobe.livecycle.formdataintegration.client.ExportFormDataException: com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException: Security Manager for decryption is not set
I see that the "Unlock Passwod Encrypted PDF" service works fine in Short Lived Process. I'm unable to make it work in Long Lived process. Can someone please explain this behavior? Why is the limitation to Unlock PDF Password service to work only in short lived process?
Thanks,
Sandeep