camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Siano (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6477) allow loading of keyfile from classpath
Date Mon, 24 Jun 2013 05:17:21 GMT

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

Stephan Siano commented on CAMEL-6477:
--------------------------------------

I have attached a patch to the camel-ftp component that has the following functionality:
1. add a test for the existing (file based) client key authentication
2. add new configuration parameters knownHostsUri and privateKeyUri that allow to give URIs
as parameters (including classpath URIs which is the default) plus implementation and test
3. add new configuration parameters knownHosts and privateKey that allow to pass references
to byte[] (in the OpenSSH format as the files) containing the private key and known hosts
material
4. add a new configuration parameter privateKeyPassphrase, which does the same as the existing
privateKeyFilePassphrase (which we should probably deprecate, because it does not only apply
to files but to the other privateKey entities, too).
                
> allow loading of keyfile from classpath
> ---------------------------------------
>
>                 Key: CAMEL-6477
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6477
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>            Reporter: Shaun Elliott
>         Attachments: 0001-provide-ssh-key-material-as-byte-array-to-SFTP-clien.patch
>
>
> Currently the SFTP component only allows key files to be loaded from the OS path. It
would be much better of the key file were loaded in from the classpath intead. 
> Please the forum conversation for more information:
> http://camel.465427.n5.nabble.com/camel-sftp-privateKeyFile-load-from-classpath-tt5734394.html#a5734526

--
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

Mime
View raw message