Commit 891aafb2 authored by Peter Loer's avatar Peter Loer
Browse files

Merge pull request #131 from timoruppell/timoruppell-fix-subject-deref

Fix Subject dereference bug
parents f8b6837b 2b5abbaa
...@@ -684,7 +684,6 @@ SAML.prototype.processValidlySignedAssertion = function(xml, inResponseTo, callb ...@@ -684,7 +684,6 @@ SAML.prototype.processValidlySignedAssertion = function(xml, inResponseTo, callb
profile.spNameQualifier = nameID[0].$.SPNameQualifier; profile.spNameQualifier = nameID[0].$.SPNameQualifier;
} }
} }
}
var subjectConfirmation = subject[0].SubjectConfirmation ? var subjectConfirmation = subject[0].SubjectConfirmation ?
subject[0].SubjectConfirmation[0] : null; subject[0].SubjectConfirmation[0] : null;
...@@ -707,6 +706,7 @@ SAML.prototype.processValidlySignedAssertion = function(xml, inResponseTo, callb ...@@ -707,6 +706,7 @@ SAML.prototype.processValidlySignedAssertion = function(xml, inResponseTo, callb
} }
} }
} }
}
// Test to see that if we have a SubjectConfirmation InResponseTo that it matches // Test to see that if we have a SubjectConfirmation InResponseTo that it matches
// the 'InResponseTo' attribute set in the Response // the 'InResponseTo' attribute set in the Response
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment