Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2015

run-as does not work for Servlet.init()

    XMLWordPrintable

Details

    Description

      According to the servlet 2.4 spec, the run-as should be used for Servlet.init()
      page 285:
      " Clarification: run-as identity must apply to all calls from a servlet including init() and destroy() (12.7)"

      This isn't working.

      Rather than breaking all the web integration tests with a deploy time error to prove the point, I'm attaching an example.zip

      % unzip example.zip
      % cd example
      % edit build.properties to point at JBoss
      % ant deploy

      The web integration tests do need updating to test for this.

      Attachments

        Issue Links

          Activity

            People

              starksm64 Scott Stark (Inactive)
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: