Skip to content

Commit b40daad

Browse files
author
Frank Tamás
committed
namespace issues
1 parent 23c09dc commit b40daad

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/Auth/Process/PersistentNameID.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,26 @@ public function __construct($config, $reserved)
4141
protected function getValue(array &$state)
4242
{
4343
if (!isset($state['Destination']['entityid'])) {
44-
SimpleSAML_Logger::warning('No SP entity ID - not generating persistent NameID.');
44+
SimpleSAML\Logger::warning('No SP entity ID - not generating persistent NameID.');
4545

4646
return;
4747
}
4848
$spEntityId = $state['Destination']['entityid'];
4949

5050
if (!isset($state['Source']['entityid'])) {
51-
SimpleSAML_Logger::warning('No IdP entity ID - not generating persistent NameID.');
51+
SimpleSAML\Logger::warning('No IdP entity ID - not generating persistent NameID.');
5252

5353
return;
5454
}
5555
$idpEntityId = $state['Source']['entityid'];
5656

5757
if (!isset($state['Attributes'][$this->attribute]) || count($state['Attributes'][$this->attribute]) === 0) {
58-
SimpleSAML_Logger::warning('Missing attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.');
58+
SimpleSAML\Logger::warning('Missing attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.');
5959

6060
return;
6161
}
6262
if (count($state['Attributes'][$this->attribute]) > 1) {
63-
SimpleSAML_Logger::warning('More than one value in attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.');
63+
SimpleSAML\Logger::warning('More than one value in attribute '.var_export($this->attribute, true).' on user - not generating persistent NameID.');
6464

6565
return;
6666
}

lib/Auth/Process/PersistentNameID2TargetedID.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function process(&$state)
5555
assert('is_array($state)');
5656

5757
if (!isset($state['saml:NameID'][SAML2_Const::NAMEID_PERSISTENT])) {
58-
SimpleSAML_Logger::warning('Unable to generate eduPersonTargetedID because no persistent NameID was available.');
58+
SimpleSAML\Logger::warning('Unable to generate eduPersonTargetedID because no persistent NameID was available.');
5959

6060
return;
6161
}

0 commit comments

Comments
 (0)