Skip to content

Commit 56def43

Browse files
committed
Fix wrong comment
1 parent 299a9b9 commit 56def43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public boolean isValid(String requestId) {
241241
+ ", does not match the ID of the AuthNRequest sent by the SP: " + requestId, ValidationError.WRONG_INRESPONSETO);
242242
}
243243

244-
// Check SAML version on the response
244+
// Check SAML version on the assertion
245245
NodeList assertions = queryAssertion("");
246246
for(int i = 0; i < assertions.getLength(); i++) {
247247
Node versionAttribute = assertions.item(i).getAttributes().getNamedItem("Version");

0 commit comments

Comments
 (0)