You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Magnus Grimsell (JIRA)" <ca...@jakarta.apache.org> on 2005/02/10 16:26:11 UTC

[jira] Updated: (CACTUS-189) cactifywar cannot merge servlets run-as element

     [ 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org