Skip to content
Snippets Groups Projects
Commit ee1f63ce authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Bugfix.

parent 0f4cd2dd
No related branches found
No related tags found
No related merge requests found
...@@ -41,10 +41,12 @@ class SimpleSAML_Bindings_Shib13_HTTPPost { ...@@ -41,10 +41,12 @@ class SimpleSAML_Bindings_Shib13_HTTPPost {
/* Determine what we should sign - either the Response element or the Assertion. The default /* Determine what we should sign - either the Response element or the Assertion. The default
* is to sign the Assertion, but that can be overridden by the 'signresponse' option in the * is to sign the Assertion, but that can be overridden by the 'signresponse' option in the
* SP metadata or 'saml20.signresponse' in the global configuration. * SP metadata or 'saml20.signresponse' in the global configuration.
*
* TODO: neither 'signresponse' nor 'shib13.signresponse' are valid options any longer. Remove!
*/ */
$signResponse = FALSE; $signResponse = FALSE;
if ($spmd->hasValue('signresponse')) { if ($spmd->hasValue('signresponse')) {
$signResponse = $spmd->getBoolean['signresponse']; $signResponse = $spmd->getBoolean('signresponse');
} else { } else {
$signResponse = $this->configuration->getBoolean('shib13.signresponse', TRUE); $signResponse = $this->configuration->getBoolean('shib13.signresponse', TRUE);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment