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

                 Key: GERONIMO-5577
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5577
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: web
    Affects Versions: 3.0
            Reporter: Han Hong Fang
            Assignee: Han Hong Fang


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to