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:[EMAIL PROTECTED]:port/path URIs Summary: [XMLDB] XMLDBSource should accept scheme://user:[EMAIL PROTECTED]:port/path URIs Product: Cocoon 2 Version: 2.1.5 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: blocks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It should be possible to have the following in the sitemap: <map:generate src="xmldb:db://{session-attr:user}:{session-attr:[EMAIL PROTECTED]: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.
