if (wresult == null) {
throw new ProcessingException("No security token issued",
TYPE.BAD_REQUEST);
}
TrustedIDPConfig trustedIDPConfig = idpConfig.getTrustedIDPs().get(whr);
if (trustedIDPConfig == null) {
throw new ProcessingException(
"No trusted IDP config found for home realm " + whr,
TYPE.BAD_REQUEST);