Hi!
I cannot remove password from PDF document if Reader Extensions was applied and than removed. I am able to remove password using Acrobat, but not using removePDFPasswordSecurity component. There is no problem with password removal when I skip Reader Extension. But RE is required.
Do You have a similar experience? Could You give some piece of advice, please?
Eror message in log is:
...
Password Key Unlock failed(PDFEncryptionImpl.java549) while invoking service EncryptionService
...
Thanks,
--- Jaroslav
Solved! Go to Solution.
Views
Replies
Total Likes
Jaroslav
I was able to duplicate the error. If I used one process where the first step was to remove the RE rights, and then pass the file on to the Remove Password step. The problem has something to do with the state of the file.
If I created two distinct processes (that are invoked seperately), the first one removes the RE permissions and writes the PDF to the file system, and then the second process reads the file in created by the first process, and removes the password, this works. It works because it is duplicating what you were doing manually with Acrobat (i.e Remove RE, save the file, open it back up in Acrobat, remove password).
Regards
Steve
Views
Replies
Total Likes
Jaroslav
I was able to duplicate the error. If I used one process where the first step was to remove the RE rights, and then pass the file on to the Remove Password step. The problem has something to do with the state of the file.
If I created two distinct processes (that are invoked seperately), the first one removes the RE permissions and writes the PDF to the file system, and then the second process reads the file in created by the first process, and removes the password, this works. It works because it is duplicating what you were doing manually with Acrobat (i.e Remove RE, save the file, open it back up in Acrobat, remove password).
Regards
Steve
Views
Replies
Total Likes
This will work fine if the orchestration is changed to long-lived
HTH
Santosh
Guys, thank for sharing. It is helpfull.
--- Jaroslav
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies