Results 1 to 2 of 2

Thread: [RESOLVED] Java to modify PDF using a locally signed... thing

  1. #1

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Resolved [RESOLVED] Java to modify PDF using a locally signed... thing

    Hi

    The company I'm working for has an applet that does the following:
    - downloads a pdf that the system generated
    - adds in a signed section to verify the document
    - re-uploads the modified pdf back to the server

    The locally sign bit has to be local for other security reasons.

    However, as with life, there is a wrinkle. The applets can only run on Firefox as Chrome and IE/Edge appear to have locked things down a lot more.

    So my challenge is to find a way to make the above steps work, preferrable for free or included in Java.

    My first port of call is Java Web Start. This means ajusting the applet to java code but can be linked to the server for the resources/jar file. However I am, unsure how to pass the url for the pdf (assuming the java web started code can stream in the code and get the local file fine).

    Are there any other ways of doing the above which you have used, and what other problems/considerations are there?


    Thanks in advance

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  2. #2

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Java to modify PDF using a locally signed... thing

    I created a Java Web Start Application, used the main core classes. On the xml for making a download of the apps basic settings, you can pass variables to use. So I did that. Does mean a lot of downloads though as the log in details/session might change. So each usage had to re downloaded. although I t hink the main app runs ok, with just the one download.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width