Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.