[
https://issues.apache.org/jira/browse/TIKA-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Burch resolved TIKA-1494.
------------------------------
Resolution: Fixed
Fix Version/s: 1.7
Support added, along with a unit test, in r1645575. The password can now be
given on a per-request basis with the "Password" header, which gets passed
through as a PasswordProvider to all parsers which support it
Note that you probably only want to do this for localhost connections, and
where you've turned on SSL/TLS
> JAXRS server: allow passing PDF password in the request
> -------------------------------------------------------
>
> Key: TIKA-1494
> URL: https://issues.apache.org/jira/browse/TIKA-1494
> Project: Tika
> Issue Type: New Feature
> Components: server
> Reporter: Peter Bowyer
> Labels: encryption, pdf, server
> Fix For: 1.7
>
>
> I have to extract content from encrypted PDFs. Setting the PDF password using
> the TIKA_PASSWORD environment variable works, however it only allows for one
> PDF password.
> It would be very useful to be able to pass the password in during the HTTP
> request - as a header or by some other means. This way I can run a central
> JAXRS server and extract content from all PDFs, rather than a separate server
> for each department/group that has its own password.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)