Repository: camel Updated Branches: refs/heads/master 0fa8edc17 -> f10623e0e
Polished doc Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f10623e0 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f10623e0 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f10623e0 Branch: refs/heads/master Commit: f10623e0ebbad670307d9aaa75817050300d59a0 Parents: 0fa8edc Author: Claus Ibsen <davscl...@apache.org> Authored: Sat Sep 2 08:32:39 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat Sep 2 08:35:06 2017 +0200 ---------------------------------------------------------------------- components/camel-jsch/src/main/docs/scp-component.adoc | 4 ++-- .../java/org/apache/camel/component/scp/ScpConfiguration.java | 4 ++-- .../main/java/org/apache/camel/component/scp/ScpOperations.java | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f10623e0/components/camel-jsch/src/main/docs/scp-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jsch/src/main/docs/scp-component.adoc b/components/camel-jsch/src/main/docs/scp-component.adoc index 44acfe3..e3c92a2 100644 --- a/components/camel-jsch/src/main/docs/scp-component.adoc +++ b/components/camel-jsch/src/main/docs/scp-component.adoc @@ -97,8 +97,8 @@ with the following path and query parameters: | **knownHostsFile** (security) | Sets the known_hosts file so that the jsch endpoint can do host key verification. | | String | **password** (security) | Password to use for login | | String | **preferredAuthentications** (security) | Set a comma separated list of authentications that will be used in order of preference. Possible authentication methods are defined by JCraft JSCH. Some examples include: gssapi-with-micpublickeykeyboard-interactivepassword If not specified the JSCH and/or system defaults will be used. | | String -| **privateKeyFile** (security) | Set the private key file to that the SFTP endpoint can do private key verification. | | String -| **privateKeyFilePassphrase** (security) | Set the private key file passphrase to that the SFTP endpoint can do private key verification. | | String +| **privateKeyFile** (security) | Set the private key file to that the endpoint can do private key verification. | | String +| **privateKeyFilePassphrase** (security) | Set the private key file passphrase to that the endpoint can do private key verification. | | String | **username** (security) | Username to use for login | | String | **useUserKnownHostsFile** (security) | If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home) /.ssh/known_hosts | true | boolean | **ciphers** (security) | Set a comma separated list of ciphers that will be used in order of preference. Possible cipher names are defined by JCraft JSCH. Some examples include: aes128-ctraes128-cbc3des-ctr3des-cbcblowfish-cbcaes192-cbcaes256-cbc. If not specified the default list from JSCH will be used. | | String http://git-wip-us.apache.org/repos/asf/camel/blob/f10623e0/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpConfiguration.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpConfiguration.java index 0914b20..5caea73 100644 --- a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpConfiguration.java +++ b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpConfiguration.java @@ -89,7 +89,7 @@ public class ScpConfiguration extends RemoteFileConfiguration { } /** - * Set the private key file to that the SFTP endpoint can do private key verification. + * Set the private key file to that the endpoint can do private key verification. */ public void setPrivateKeyFile(String privateKeyFile) { this.privateKeyFile = privateKeyFile; @@ -100,7 +100,7 @@ public class ScpConfiguration extends RemoteFileConfiguration { } /** - * Set the private key file passphrase to that the SFTP endpoint can do private key verification. + * Set the private key file passphrase to that the endpoint can do private key verification. */ public void setPrivateKeyFilePassphrase(String privateKeyFilePassphrase) { this.privateKeyFilePassphrase = privateKeyFilePassphrase; http://git-wip-us.apache.org/repos/asf/camel/blob/f10623e0/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java ---------------------------------------------------------------------- diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java index e45a20e..1fd64cd 100644 --- a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java +++ b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java @@ -19,7 +19,6 @@ package org.apache.camel.component.scp; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; -import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream;