[ http://issues.apache.org/jira/browse/CACTUS-189?page=history ]
Vincent Massol resolved CACTUS-189:
-----------------------------------
Assign To: Vincent Massol
Resolution: Fixed
Fix Version: 1.8
Applied. Thanks! If you have some time for writing some unit tests too that
would be very cool ;-) (hint: there's an existing WebXmlTest file that could be
updated with a test which proves it works).
> 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
> Assignee: Vincent Massol
> Fix For: 1.8
> 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]