Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2727

[protonj2] Support reading keystore from class path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • protonj2-1.0.0-M15
    • protonj2-1.0.0-M20
    • protonj2
    • None

    Description

      It would be useful if ConnectionOptions allowed you to supply an SSL keystore from a resource on the classpath in some way. One possibility would be:

      options.keyStoreLocation("classpath:com/my/thing/ks.p12")

      Another option would be adding a method to take a stream or bytes or Reader or something instead of String for this option.

      Sadly, File doesn't handle classpath: URLs on its own.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            wordman Lester Ward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: