[ http://issues.apache.org/jira/browse/COCOON-1256?page=all ]
Ralph Goers updated COCOON-1256: -------------------------------- Bugzilla Id: (was: 31011) Component: Blocks: XML-DB (was: Blocks: (Undefined)) Description: this patch allow to set user and password in the sitemap for the pseudo protocol xmldb. ex: <map:match pattern="test.xml"> <map:generate src="xmldb:xdepo://{session-attr:login}:{session-attr:pwd}@/db/repository/"/> <!-- <map:parameter name="user" value="{session-attr:login}"/> <map:parameter name="password" value="{session-attr:pwd}"/> </map:generate> --> <map:serialize type="xml"/> </map:match> was: this patch allow to set user and password in the sitemap for the pseudo protocol xmldb. ex: <map:match pattern="test.xml"> <map:generate src="xmldb:xdepo://{session-attr:login}:{session-attr:pwd}@/db/repository/"/> <!-- <map:parameter name="user" value="{session-attr:login}"/> <map:parameter name="password" value="{session-attr:pwd}"/> </map:generate> --> <map:serialize type="xml"/> </map:match> > [PATCH] login and pseudo protocol xmldb > --------------------------------------- > > Key: COCOON-1256 > URL: http://issues.apache.org/jira/browse/COCOON-1256 > Project: Cocoon > Type: Bug > Components: Blocks: XML-DB > Versions: 2.1.8-dev (Current SVN) > Environment: Operating System: All > Platform: All > Reporter: vincent jaulin > Assignee: Cocoon Developers Team > Attachments: XMLDBSourceFactory.java.diff > > this patch allow to set user and password in the sitemap for the pseudo > protocol > xmldb. > ex: > <map:match pattern="test.xml"> > <map:generate > src="xmldb:xdepo://{session-attr:login}:{session-attr:pwd}@/db/repository/"/> > <!-- <map:parameter name="user" value="{session-attr:login}"/> > <map:parameter name="password" value="{session-attr:pwd}"/> > </map:generate> --> > <map:serialize type="xml"/> > </map:match> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira