loginHandlers);
if (loginHandlers.isEmpty()) {
- LOG.error("Force authentication required but no login handlers available to support it");
+ LOG.info("Force authentication requested but no login handlers available to support it");
throw new ForceAuthenticationException();
}
}
Response samlResponse;
try {
if (loginContext.getAuthenticationFailure() != null) {
- 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());
}
Response samlResponse;
try {
if (loginContext.getAuthenticationFailure() != null) {
- log.error("User authentication failed with the following error: {}", loginContext
- .getAuthenticationFailure().toString());
-
if (loginContext.getAuthenticationFailure() instanceof PassiveAuthenticationException) {
requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER_URI, StatusCode.NO_PASSIVE_URI,
null));