[ https://issues.apache.org/jira/browse/TIKA-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246400#comment-14246400 ]
Peter Bowyer commented on TIKA-1494: ------------------------------------ Thanks Nick, much appreciated! As it's a non-standard HTTP header field[1], would it be good practice to prefix it with X- or X-Tika- ? 1. http://stackoverflow.com/a/19640336 > 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)