Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5577

Support ServeltSecurity annotation when the servlets are added by ServletContext.addServlet methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • web
    • Security Level: public (Regular issues)
    • None

    Description

      Servlet 3.0 spec has following statements in chapter 13.4.1.

      The @ServletSecurity annotation provides an alternative mechanism for
      defining access control constraints equivalent to those that could otherwise have
      been expressed declaratively via security-constraint elements in the portable
      deployment descriptor or programmatically via the setServletSecurity method
      of the ServletRegistration interface. Servlet containers MUST support the use
      of the @ServletSecurity annotation on classes (and subclasses thereof) that
      implement the javax.servlet.Servlet interface.

      Attachments

        1. GERONIMO-5577.patch
          23 kB
          Hong Fang Han

        Activity

          People

            xuhaihong Haihong Xu
            hanhongfang Hong Fang Han
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: