Gianugo Rabellino wrote:
this database has username and password to connect to database.
But XML:DB protocol doesn't support to pass username and password from
configuration file. So we have changed in our XML:DB implementation to
always to connect through default username and password. Could u make
changes to Cocoon API to provide a facility to pass username and password.?

Definitely, I promised I would but didn't find the time to do it. Will try in in the next few days.
OK, I checked in (in CVS HEAD only) a version supporting authenticated XML:DB calls. Basically you can add a "user" and password attributed to the <driver/> tag in cocoon.xconf, and you should be set.

I'm not really willing to backport that to the 2.0 branch soon, I'd like to have some feedback first, but if you want to try it on that release it should be trivial to copy the source on a 2.0.4 tree (don't forget to copy also o.a.c.components.source.helpers.SourceCredential) and recompile cocoon.

However, if you experience any problem, just LMK and I'll try to help you. I'd also appreciate some feedback since I really didn't have a way to test if it actually works (I don't have an XML DB supporting authentication).

Ciao,

--
Gianugo Rabellino


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Reply via email to