code:     private void processServletSecurityAnnotation(Servlet servlet) {
          // Calling this twice isn't harmful so no syncs
          servletSecurityAnnotationScanRequired = false;
  
          ServletSecurity secAnnotation =
              servlet.getClass().getAnnotation(ServletSecurity.class);
          Context ctxt = (Context) getParent();
          if (secAnnotation != null) {
              ctxt.addServletSecurity(
                      new ApplicationServletRegistration(this, ctxt),
                      new ServletSecurityElement(secAnnotation));
          }
      }
  
  