[
https://issues.apache.org/jira/browse/CAMEL-6120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593032#comment-13593032
]
Scott Cranton commented on CAMEL-6120:
--------------------------------------
Attached patch that adds certResource parameter (deprecating certFilename) that
uses ResourceHelper to load key from file, classpath or http. I also update the
camel-ssh example, and add a camel-ssh-security example using certResource...
I also pushed updates to https://github.com/scranton/camel/tree/CAMEL-6120 - I
can submit github pull request if easier...
> camel-ssh - Use ResourceHelper to load keystore so its easy loadable from
> classpath/file etc
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-6120
> URL: https://issues.apache.org/jira/browse/CAMEL-6120
> Project: Camel
> Issue Type: Improvement
> Components: camel-ssh
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: Future
>
> Attachments: CAMEL-6120.patch
>
>
> See
> https://github.com/scranton/example-security-camel-ssh/blob/master/src/main/resources/META-INF/spring/camel-context.xml
> Having to create a custom key factory to use a classloader is too complicated.
> We should use the code from util package in camel-core ResourceHelper which
> we use in other components to load resource files from classpath / file etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira