if (authnRequest.getVersion().equals(SAMLVersion.VERSION_20)) { validatedItems.add(new ValidatedItemDTO( SAMLValidatorConstants.ValidationType.VAL_VERSION, false, String.format(SAMLValidatorConstants.ValidationMessage.VAL_VERSION_FAIL, authnRequest.getVersion()))); throw IdentityException.error(SAMLValidatorConstants.ValidationMessage.EXIT_WITH_ERROR);
if (authnRequest.getVersion().equals(SAMLVersion.VERSION_20)) { validatedItems.add(new ValidatedItemDTO( SAMLValidatorConstants.ValidationType.VAL_VERSION, false, String.format(SAMLValidatorConstants.ValidationMessage.VAL_VERSION_FAIL, authnRequest.getVersion()))); throw IdentityException.error(SAMLValidatorConstants.ValidationMessage.EXIT_WITH_ERROR);
if (!(SAMLVersion.VERSION_20.equals(authnReq.getVersion()))) { if (log.isDebugEnabled()) { log.debug("Invalid version in the SAMLRequest" + authnReq.getVersion());
if (!(SAMLVersion.VERSION_20.equals(authnReq.getVersion()))) { String errorResp = SAMLSSOUtil.buildErrorResponse( SAMLSSOConstants.StatusCodes.VERSION_MISMATCH, authnReq.getAssertionConsumerServiceURL()); if (log.isDebugEnabled()) { log.debug("Invalid version in the SAMLRequest" + authnReq.getVersion());
requestValidatorConfig); if (!(SAMLVersion.VERSION_20.equals(authnReq.getVersion()))) { SAML2SSORequestValidationException ex = new SAML2SSORequestValidationException(StatusCode.VERSION_MISMATCH_URI,