Re: [Dev] Info about Encrypted data stored in registry in WSO2 products

2014-09-24 Thread Gihan Anuruddha
Below BAM component using the encryptAndBase64Encode method to store passwords in the registry. org.wso2.carbon.bam.jmx.agent org.wso2.carbon.mediator.bam.config.ui org.wso2.carbon.mediator.bam.config On Tue, Sep 23, 2014 at 6:30 PM, Susinda Perera susi...@wso2.com wrote: Thanks prabath for

Re: [Dev] Info about Encrypted data stored in registry in WSO2 products

2014-09-24 Thread Susinda Perera
Thanks Gihan Could you also tell me when ds is happen and where in registry those are saved from the code i see that it stores profile registry in addProfile method components/data-agents/org.wso2.carbon.bam.jmx.agent/4.2.1/src/main/java/org/wso2/carbon/bam/jmx/agent/profiles/ProfileManager.java:

Re: [Dev] Info about Encrypted data stored in registry in WSO2 products

2014-09-24 Thread Vijayaratha Vijayasingam
AM uses encryption (cipher tool) to store passwords of secured endpoint. Aliases will be stored under /repository/components/secure-vault. On 24 September 2014 15:03, Susinda Perera susi...@wso2.com wrote: Thanks Gihan Could you also tell me when ds is happen and where in registry those are

Re: [Dev] Info about Encrypted data stored in registry in WSO2 products

2014-09-24 Thread Gihan Anuruddha
All the JMX profiles are saved in the governance registry under repository/components/org.wso2.carbon.publish.jmx.agent/ path. On Wed, Sep 24, 2014 at 3:03 PM, Susinda Perera susi...@wso2.com wrote: Thanks Gihan Could you also tell me when ds is happen and where in registry those are saved

[Dev] Info about Encrypted data stored in registry in WSO2 products

2014-09-23 Thread Susinda Perera
Hi Developers/Product Leads Need your help to figure out the $subject. Could you point out any places that you put encrypted data to registry in the products (ESB, GREG, CEP, IS, AS, API MANAGER, BAM) that you are working. I want to know what and where (i.e registry path) such info is saved. I

Re: [Dev] Info about Encrypted data stored in registry in WSO2 products

2014-09-23 Thread Prabath Siriwardena
I think you need to grep for encrypt() method of CryptoUtil class [1] [1]: https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0009/core/org.wso2.carbon.core/4.2.0/src/main/java/org/wso2/carbon/core/util/CryptoUtil.java Thanks regards, -Prabath On Tue, Sep 23, 2014 at

Re: [Dev] Info about Encrypted data stored in registry in WSO2 products

2014-09-23 Thread Susinda Perera
Thanks prabath for the quick response. Yes i have to grep both encrypt and encryptAndBase64Encode methods. But issue i faced was then i have to find the registry.put methods followed by this. And also i found some wrapper/utility classes written by using CryptoUtil class. then i have to find their