Hi All,
I am trying to store a password in secure vault and access it through an
alias in google spreadsheets ESB connector.
Here are the steps I followed.
1) Run sh ciphertool.sh -Dconfigure from bin directory
2) Restarted ESB (needed a password to start)
3) Added new security vault password with alias google.spreadsheet.password
through management console (Secure Vault Tool -> Manage Passwords)
4) Used following in my sequence
<googlespreadsheet.usernameLogin>
<username>[email protected]</username>
<password>{wso2:vault-lookup('google.spreadsheet.password')}</password>
</googlespreadsheet.usernameLogin>
But spreadsheet authentication fails with above configuration. I debugged
in synapse source and found that the vault lookup returns an empty string
for the password. (
org.wso2.carbon.mediation.security.vault.RegistrySecretRepository.getSecret()
returns an empty string).
Can someone help me figure out what is going wrong?
Thanks
--
Lahiru Chandima
*Senior Software Engineer*
Mobile : +94 (0) 772 253283
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev