I think, either you can store the password in a config file and encrypt that using secure vault, and in the PWCB Handler it can be read using the secret key [1]
[1] http://ajithvblogs.blogspot.com/2014/01/secure-custom-configuration-filexml.html Thanks, Sajith On Thu, Jun 26, 2014 at 11:32 AM, Pulasthi Supun <[email protected]> wrote: > Hi Isura, > > As discussed offline lets store the password in a property in the registry > and access it using the registry service. The following blog post [1] shows > how you can use the registry OSGi service to access the registry using the > scr plugin. > > > [1] > http://subashsdm.blogspot.com/2013/01/publish-wso2-governance-registry-events.html > > Regards, > Pulasthi > > > On Thu, Jun 26, 2014 at 11:13 AM, Isura Karunaratne <[email protected]> > wrote: > >> Hi, >> >> >> Is there any way to avoid the hard coding the password in password >> callback handlers? Can we use registry to store password? >> >> >> Thanks >> -- >> Isura Dilhara Karunaratne >> Software Engineer >> >> Mob +94 772 254 810 >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > -- > Pulasthi Supun > Software Engineer; WSO2 Inc.; http://wso2.com, > Email: [email protected] > Mobile: +94 (71) 9258281 > Blog : http://pulasthisupun.blogspot.com/ > Git hub profile: https://github.com/pulasthi > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *--* *Sajith Kariyawasam* *Mobile: +94772269575*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
