You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/09/02 08:56:20 UTC

DO NOT REPLY [Bug 31011] New: - [PATCH] login and pseudo protocol xmldb

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31011>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31011

[PATCH] login and pseudo protocol xmldb

           Summary: [PATCH] login and pseudo protocol xmldb
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: vincent.jaulin@ajlsm.com


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>