diff --git a/lib/Auth/Process/PersistentNameID.php b/lib/Auth/Process/PersistentNameID.php index 26ae77e..347c7ac 100644 --- a/lib/Auth/Process/PersistentNameID.php +++ b/lib/Auth/Process/PersistentNameID.php @@ -41,26 +41,26 @@ public function __construct($config, $reserved) protected function getValue(array &$state) { if (!isset($state['Destination']['entityid'])) { - SimpleSAML_Logger::warning('No SP entity ID - not generating persistent NameID.'); + SimpleSAML\Logger::warning('No SP entity ID - not generating persistent NameID.'); return; } $spEntityId = $state['Destination']['entityid']; if (!isset($state['Source']['entityid'])) { - SimpleSAML_Logger::warning('No IdP entity ID - not generating persistent NameID.'); + SimpleSAML\Logger::warning('No IdP entity ID - not generating persistent NameID.'); return; } $idpEntityId = $state['Source']['entityid']; if (!isset($state['Attributes'][$this->attribute]) || count($state['Attributes'][$this->attribute]) === 0) { - SimpleSAML_Logger::warning('Missing attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.'); + SimpleSAML\Logger::warning('Missing attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.'); return; } if (count($state['Attributes'][$this->attribute]) > 1) { - SimpleSAML_Logger::warning('More than one value in attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.'); + SimpleSAML\Logger::warning('More than one value in attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.'); return; } diff --git a/lib/Auth/Process/PersistentNameID2TargetedID.php b/lib/Auth/Process/PersistentNameID2TargetedID.php index 0fdb1c0..7c2b0e6 100644 --- a/lib/Auth/Process/PersistentNameID2TargetedID.php +++ b/lib/Auth/Process/PersistentNameID2TargetedID.php @@ -55,7 +55,7 @@ public function process(&$state) assert('is_array($state)'); if (!isset($state['saml:NameID'][SAML2_Const::NAMEID_PERSISTENT])) { - SimpleSAML_Logger::warning('Unable to generate eduPersonTargetedID because no persistent NameID was available.'); + SimpleSAML\Logger::warning('Unable to generate eduPersonTargetedID because no persistent NameID was available.'); return; }