cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30928] New: - [XMLDB] XMLDBSource should accept scheme://user:pass@host:port/path URIs
Date Sun, 29 Aug 2004 23:29:44 GMT
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=30928>.
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=30928

[XMLDB] XMLDBSource should accept scheme://user:pass@host:port/path URIs

           Summary: [XMLDB] XMLDBSource should accept
                    scheme://user:pass@host:port/path URIs
           Product: Cocoon 2
           Version: 2.1.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: lpb+apache@focalpoint.com


It should be possible to have the following in the sitemap:

<map:generate
src="xmldb:db://{session-attr:user}:{session-attr:pass}@host:port/db/etc.xml" />

so each user can have their own authentication to the XMLDB as necessary. This
corresponds to the missing "application managed security" paradigm; currently
XMLDBSource only implements "container managed security". 

The attached patch accomplishes this goal. UserInfo in the URI overrides
"container managed" credential information if it exists. This seems consistent
with J2EE.

Mime
View raw message