say, we have a use case to write a file from a WSO2 ESB that is installed in a Linux machine to a shared windows folder, by using VFS transport.
we have a VFS endpoint looks like this to write a file from a linux machin to a windows machin: <?xml version="1.0" ?><endpoint name="endpoint__VFS" xmlns=" http://ws.apache.org/ns/synapse"> <address uri="vfs:smb://ActiveDirectoryUser:{XXXX}@WindowsHost/path"/> </endpoint> where {XXXX} is the password. In order to make the password more secure , we can introduce a secure vault other than specifying the clear password inline. so that we can get the password alias as follows . <property name="securepassword expression="wso2:vaultlookup('Password.Alias')"/> Can we write a custom js script(script mediator) so that we can use this property in the address endpoint? If so do you have any suggestion on how to write it? Please note that we are to use address point and assume we cannot use 'To' header with default endpoint in this scenario. Thanks & Regards, Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
