docs: private List<SecurityConstraint> createSecurityConstraints(SecurityMetadata securityMetadataFromDD, ServletSecurityElement servletSecurity, Collection<String> urlPatterns) {
          List<SecurityConstraint> securityConstraints = new ArrayList<SecurityConstraint>();
          securityConstraints.add(getConstraintFromHttpElement(securityMetadataFromDD, urlPatterns, servletSecurity));
          securityConstraints.addAll(getConstraintsFromHttpMethodElement(securityMetadataFromDD, urlPatterns, servletSecurity));
          return securityConstraints;
      }