[ 
https://issues.apache.org/jira/browse/PROTON-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828523#comment-17828523
 ] 

ASF subversion and git services commented on PROTON-2727:
---------------------------------------------------------

Commit 8222234737d7e24dc17d54bbfaa67ace69f12b95 in qpid-protonj2's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=82222347 ]

PROTON-2727 Allow reading key and trust store files from class path

Use prefix notation to indicate that a store is to be found on the class
path, prefix is 'classpath:' and add some tests for that case.

> [protonj2] Support reading keystore from class path
> ---------------------------------------------------
>
>                 Key: PROTON-2727
>                 URL: https://issues.apache.org/jira/browse/PROTON-2727
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M15
>            Reporter: Lester Ward
>            Assignee: Timothy A. Bish
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to