Skip to content

Commit

Permalink
pcorlessGH-46 Fixes securityHandler not set when opening with WebDav
Browse files Browse the repository at this point in the history
  • Loading branch information
gtache committed Jan 25, 2021
1 parent d39a933 commit 41f35f7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2867,9 +2867,7 @@ public void openDocument(final DavFileClient pdfDavClient) {
protected void openDavDocument() throws IOException, PDFException, PDFSecurityException {
if (pdfClient.exists()) {
final InputStream stream = pdfClient.getStream();
document = new Document();
document.setInputStream(new BufferedInputStream(stream), pdfClient.getUrl());
commonNewDocumentHandling(pdfClient.getUrl());
openDocument(new BufferedInputStream(stream),pdfClient.getUrl(), pdfClient.getUrl());
} else {
org.icepdf.ri.util.Resources.showMessageDialog(
viewer,
Expand Down

0 comments on commit 41f35f7

Please sign in to comment.