Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-189

cactifywar cannot merge servlets run-as element

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.1
    • Component/s: Ant Integration
    • Labels:
      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.

        Attachments

        1. cactus-patch.txt
          5 kB
          Magnus Grimsell

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              grimsell Magnus Grimsell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: