I have a FTP secured by a password/username. I want to secure the
password.I can use vfs encrypt utils [1], but it is trivially decodable.

Is there a way to use a secure vault for this?

I tried following

<proxy xmlns="http://ws.apache.org/ns/synapse"; name="vfsy"
transports="https http vfs" startOnLoad="true" trace="disable">
   <target>
      <inSequence>
         <log/>
      </inSequence>
   </target>
   <parameter name="transport.vfs.FileURI">*{wso2:vault-lookup('vfsUrl')}*
</parameter>
   <parameter name="transport.vfs.ContentType">text/plain</parameter>
   ...
</proxy>

but unfortunately that didn't work

[2016-06-09] ERROR - VFSTransportListener Repeatedly failed to resolve the
file URI: {wso2:vault-lookup('vfsUrl')}
org.apache.commons.vfs2.FileSystemException: Could not find file with URI
"{wso2:vault-lookup('vfsUrl')}" because it is a relative path, and no base
URI was provided.


[1]
http://wso2.com/library/articles/2012/01/wso2-esb-example-file-exchanging-hub-part-1/

-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to