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:

Can you explain bit

Thanks in advanced


On Wed, Sep 24, 2014 at 2:59 PM, Gihan Anuruddha <[email protected]> wrote:

> 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 <[email protected]> wrote:
>
>> 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 uses and then again find registry
>> insertions and do so on.
>> Thats why i thought to get some help from developers who might have some
>> idea if they have done such coding. Any idea?
>>
>>
>>
>> On Tue, Sep 23, 2014 at 6:20 PM, Prabath Siriwardena <[email protected]>
>> wrote:
>>
>>> 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 5:50 PM, Susinda Perera <[email protected]>
>>> wrote:
>>> >
>>> > 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 have tried a approach in searching for places of occurrences of [1],
>>> > however this approach does not seems to be a easy one since i have to
>>> do
>>> > several iterations to find this. Also it is difficult because my
>>> requirement
>>> > is to find the registry insertions of such encrypted data. In that
>>> case i
>>> > have to first find the occurrences of [1] and the find the registry.put
>>> > followed by that.
>>> >
>>> > Therefore i think easy way is to contact the developers and get this
>>> info.
>>> > Please reply corresponding to your product.
>>> >
>>> >
>>> > [1] CryptoUtil.getDefaultCryptoUtil().encryptAndBase64Encode
>>> >
>>> > Thanks
>>> >
>>> >
>>> >
>>> > --
>>> > Susinda Perera
>>> > Software Engineer
>>> > Mobile:(+94)716049075
>>> >
>>> > WSO2 Inc. http://wso2.com/
>>> > Tel : 94 11 214 5345 Fax :94 11 2145300
>>> >
>>> >
>>> > _______________________________________________
>>> > Dev mailing list
>>> > [email protected]
>>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>>> >
>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Prabath
>>>
>>> Twitter : @prabath
>>> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>>>
>>> Mobile : +94 71 809 6732
>>>
>>> http://blog.facilelogin.com
>>> http://blog.api-security.org
>>>
>>
>>
>>
>> --
>> *Susinda Perera*
>> Software Engineer
>> Mobile:(+94)716049075
>>
>> WSO2 Inc. http://wso2.com/
>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> W.G. Gihan Anuruddha
> Senior Software Engineer | WSO2, Inc.
> M: +94772272595
>



-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to