We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 299a9b9 commit 56def43Copy full SHA for 56def43
core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java
@@ -241,7 +241,7 @@ public boolean isValid(String requestId) {
241
+ ", does not match the ID of the AuthNRequest sent by the SP: " + requestId, ValidationError.WRONG_INRESPONSETO);
242
}
243
244
- // Check SAML version on the response
+ // Check SAML version on the assertion
245
NodeList assertions = queryAssertion("");
246
for(int i = 0; i < assertions.getLength(); i++) {
247
Node versionAttribute = assertions.item(i).getAttributes().getNamedItem("Version");
0 commit comments