git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2569
ab3bd59b-922f-494d-bb5f-
6f0a3c29deca
log.error("User authentication failed with the following error: {}", loginContext
.getAuthenticationFailure().toString());
requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER, null, "User failed authentication"));
+ throw new ProfileException("Authentication failure", loginContext.getAuthenticationFailure());
}
resolveAttributes(requestContext);
requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER_URI, StatusCode.AUTHN_FAILED_URI,
null));
}
+ throw new ProfileException("Authentication failure", loginContext.getAuthenticationFailure());
}
if (requestContext.getSubjectNameIdentifier() != null) {