We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1120cc1 commit 6f43a72Copy full SHA for 6f43a72
1 file changed
lib/Saml2/Settings.php
@@ -384,11 +384,16 @@ private function _addDefaultValues()
384
$this->_security['wantXMLValidation'] = true;
385
}
386
387
- // Algorithm
+ // SignatureAlgorithm
388
if (!isset($this->_security['signatureAlgorithm'])) {
389
$this->_security['signatureAlgorithm'] = XMLSecurityKey::RSA_SHA1;
390
391
392
+ // DigestAlgorithm
393
+ if (!isset($this->_security['digestAlgorithm'])) {
394
+ $this->_security['digestAlgorithm'] = XMLSecurityDSig::SHA1;
395
+ }
396
+
397
if (!isset($this->_security['lowercaseUrlencoding'])) {
398
$this->_security['lowercaseUrlencoding'] = false;
399
0 commit comments