log.debugf("Qualified url patterns: " + patternMap);
SecurityConstraint[] constraints = context.findConstraints();
for (int i = 0; i < constraints.length; i++) {
SecurityConstraint sc = constraints[i];
SecurityCollection[] resources = sc.findCollections();
String transport = sc.getUserConstraint();
if ((sc.getAuthConstraint() && (sc.findAuthRoles().length == 0 && !sc.getAllRoles())) || !sc.getAuthConstraint()) {
// Process the permissions for the excluded/unchecked resources
for (int j = 0; j < resources.length; j++) {
SecurityCollection wrc = resources[j];