recordFailure(); return; } else if (extContext.getAuthnError() != null) { log.info("{} External authentication produced error message: {}", getLogPrefix(), extContext.getAuthnError()); handleError(profileRequestContext, authenticationContext, extContext.getAuthnError(), AuthnEventIds.AUTHN_EXCEPTION); recordFailure();