Camel SFTP with encrypted passwords

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Camel SFTP with encrypted passwords

dpravin
Hi,

I am using sftp component and it works file with normal password. However it fails to establish connection with encrypted password. I am using jasypt for encrypting all sensitive passwords. All components other components work fine with the encrypted passwords except sftp.

Has anyone successfully used encrypted passwords with sftp? Appreciate if you could share your thoughts and experience.

I am using Jboss Fuse 6.2.1
JDK 8

Exposed the jasypt as a osgi service and wiring it with property place holder as following,

 
    <reference filter="(decrypter.name=decrypter)" id="decrypter" interface="org.jasypt.encryption.StringEncryptor"/>

<enc:property-placeholder encryptor-ref="decrypter" />



Thanks,
Pravin
- Pravin