[ http://issues.apache.org/jira/browse/CACTUS-189?page=history ]
Magnus Grimsell updated CACTUS-189:
-----------------------------------
Attachment: cactus-patch.txt
I have made a patch to fix this problem by letting the WebXmlMerger acknowledge
run-as elements.
> cactifywar cannot merge servlets run-as element
> -----------------------------------------------
>
> Key: CACTUS-189
> URL: http://issues.apache.org/jira/browse/CACTUS-189
> Project: Cactus
> Type: Bug
> Components: Ant Integration
> Reporter: Magnus Grimsell
> Attachments: cactus-patch.txt
>
> To have the tests run as a certain principal I merge in a web.xml file
> containing the following snippet:
> <servlet>
> <servlet-name>ServletRedirector</servlet-name>
>
> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
> <run-as>
> <role-name>myTrustedUser</role-name>
> </run-as>
> </servlet>
> However the run-as element does not end up in the merged web.xml file.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]