// + principalName +
// " found in jboss-web.xml but there was no run-as in web.xml");
}
// See if there are any additional roles for this principal
Set<String> extraRoles = securityRoles.getSecurityRoleNamesByPrincipal(principalName);
RunAsIdentityMetaData runAsId = new RunAsIdentityMetaData(webXmlRunAs, principalName, extraRoles);
runAsIdentity.put(servletName, runAsId);
} else if (webXmlRunAs != null) {
RunAsIdentityMetaData runAsId = new RunAsIdentityMetaData(webXmlRunAs, null);
runAsIdentity.put(servletName, runAsId);
}
}
}
}