Skip to content

Commit

Permalink
Use SimpleSAML\Logger now that 1.15 is stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ghalse committed Feb 27, 2018
1 parent eb521a4 commit d35836c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Auth/Process/AttributeFromEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function __construct($config, $reserved)
}

if ($this->replace and $this->ignore) {
SimpleSAML_Logger::warning('AttributeFromEntity: %replace and %ignore are mutually exclusive, behaving as though only %replace was given.');
SimpleSAML\Logger::warning('AttributeFromEntity: %replace and %ignore are mutually exclusive, behaving as though only %replace was given.');
}

if (count($this->map) === 0) {
Expand Down Expand Up @@ -100,13 +100,13 @@ public function process(&$request)
}

foreach ($request[$source]['EntityAttributes'] as $entityAttributeName => $entityAttributeValue) {
SimpleSAML_Logger::debug('AttributeFromEntity: found entity attribute ' .
SimpleSAML\Logger::debug('AttributeFromEntity: found entity attribute ' .
$entityAttributeName . ' in ' . $source . ' metadata -> ' .
var_export($entityAttributeValue, true)
);

if (array_key_exists($entityAttributeName, $this->map)) {
SimpleSAML_Logger::info('AttributeFromEntity: found entity attribute mapping ' .
SimpleSAML\Logger::info('AttributeFromEntity: found entity attribute mapping ' .
$entityAttributeName . ' -> ' . $this->map[$entityAttributeName]);

if (!is_array($entityAttributeValue)) {
Expand Down

0 comments on commit d35836c

Please sign in to comment.