We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 748293e commit 5e84cc5Copy full SHA for 5e84cc5
src/Saml2/Response.php
@@ -234,6 +234,7 @@ public function isValid($requestId = null)
234
);
235
}
236
237
+ $this->encryptedNameId = $this->encryptedNameId || $this->_queryAssertion('/saml:Subject/saml:EncryptedID/xenc:EncryptedData')->length > 0;
238
if (!$this->encryptedNameId && $security['wantNameIdEncrypted']) {
239
throw new ValidationError(
240
"The NameID of the Response is not encrypted and the SP requires it",
0 commit comments