code: private void configureSecurity(List<com.ibm.ws.javaee.dd.web.common.SecurityConstraint> securityConstraints,
                                     LoginConfig loginConfig,
                                     List<SecurityRole> securityRoles,
                                     List<ServletMapping> servletMappings,
                                     List<EnvEntry> envEntries,
                                     boolean denyUncoveredHttpMethods) {
  
          processSecurityConstraints(securityConstraints, denyUncoveredHttpMethods);
          processLoginConfig(loginConfig);
          processSecurityRoles(securityRoles);
          processURLPatterns(servletMappings);
          processEnvEntries(envEntries);
          processDenyUncoveredHttpMethods(denyUncoveredHttpMethods);
      }
docs: Configure the security metadata from the given information.
  
  @param securityConstraints a list of security constraints
  @param loginConfig the login configuration
  @param securityRoles a list of security roles
  @param servletMappings a list of servlet mappings