On Thu, Mar 3, 2011 at 12:24 PM, Srinath Perera <[email protected]> wrote:
> Can we use secure vault here? is that only for passowords in config > files? --Srinath > Yes we can. But In secure vault also it is not straight, same as above, by using an encrypt() method in EncryptionProvider class.. There is separate tool called cipherTool for encrypting passwords in config files or command line given plain text.. Therefore it can not be used pragmatically.. Thanks Asela > On Mon, Feb 28, 2011 at 10:26 AM, Rajika Kumarasiri <[email protected]> > wrote: > > Thanks that helped. > > > > Rajika > > > > On Mon, Feb 28, 2011 at 10:19 AM, Thilina Buddhika <[email protected]> > > wrote: > >> > >> Yes, In Carbon-Core/CryptoUtil class, there are two methods called > >> encrypt() and decrypt(). You can invoke the encrypt method passing the > plain > >> text password and get it encrypted before storing it in the registry. > These > >> methods use the primary key pair for encryption/decryption. > >> Hope this helps. > >> Thanks, > >> Thilina > >> > >> On Mon, Feb 28, 2011 at 10:05 AM, Rajika Kumarasiri <[email protected]> > >> wrote: > >>> > >>> I need to store some passwords in GREG. Is there a way to achieve this > ? > >>> > >>> Rajika > >>> > >>> _______________________________________________ > >>> Carbon-dev mailing list > >>> [email protected] > >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >>> > >> > >> > >> > >> -- > >> Thilina Buddhika > >> Senior Software Engineer > >> WSO2 Inc. ; http://wso2.com > >> lean . enterprise . middleware > >> > >> phone : +94 77 44 88 727 > >> blog : http://blog.thilinamb.com > > > > > > _______________________________________________ > > Carbon-dev mailing list > > [email protected] > > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > -- > ============================ > Srinath Perera, Ph.D. > Senior Software Architect, WSO2 Inc. > Visiting Lecturer, University of Moratuwa > Member, Apache Software Foundation > Research Scientist, Lanka Software Foundation > Blog: http://srinathsview.blogspot.com/ > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
