Hi, On reading this thread I have a question. Would there be a way to not make the password available in plain text? This could cause a security concern. I guess I could customize the XQueryGenerator but it would be nice to avoid that dependency.
Thanks, Gary > Subject: Re: XML:DB user authentification > > Excellent, > > I have found the docs now, it's in the javadocs of the > appropriate classes... I should have looked there earlier. > > Thanks, > Thomas > > Kai Mütz wrote: > > >You can configure the cocoon generator of eXist to use a > specific user: > > > >In sitemap-component registration: > ><map:generator name="xquery" logger="sitemap.generator.xquery" > >src="org.exist.cocoon.XQueryGenerator" user="guest" > password="guest"/> > > > >In pipeline: > ><map:match pattern="test.xq"> > > <map:generate src="test.xq" type="xquery"> > > <map:parameter name="user" value="guest"/> > > <map:parameter name="password" value="guest"/> > > </map:generate> > > <map:serialize encoding="UTF-8" type="xml"/> </map:match> > > > >Rgards, Kai > > > > > > > > -- > -------------------------------------------------- > Dr. Thomas Soddemann | Boltzmannstrasse 2 > Projects Engineer | 85748 Garching > Rechenzentrum der MPG | Germany > am MPI fuer Plasmaphysik | > --------------------------------------------------- > phone: +49 89 3299 2694 | fax: +49 89 3299 1301 > --------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]