Not absolutely sure this is an issue (as I stumbled onto it due to a bad site configuration - going to /saml_login on a Drupal site configured as an IdP, not as an SP), but the test for the presence of the SimpleSAML_Session::getAuthority() method (removed in SimpleSAMLphp 1.14, which I am using) seems to be wrong - on line 76 of drupalauth4ssp, the test is checking for
if (method_exists($session, 'setAuthorityExpire')) {
rather than what I would've expected if (method_exists($session, 'getAuthority')) {. The former results in a PHP error ("PHP Fatal error: Call to undefined method SimpleSAML_Session::getAuthority()") and the latter addresses it, so I'm thinking that the wrong method was included with the test.
Comments
Comment #2
greatmatter commentedI can confirm this.
Comment #3
roderikMe too. This was a typo/glitch. The patch is good.
Comment #4
sanchiz commentedComment #6
sanchiz commentedComment #7
sanchiz commentedThank you, guys! Committed.
Available now in 7.x-1.x-dev or in 7.x-1.0-beta5 and later once released.
Comment #8
matason commentedPatch applies cleanly and fixes the problem described, thanks.