Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 9682c4a

Browse files
authored
bugfixes
1 parent 94c8bfc commit 9682c4a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/Auth/Process/ProxyFilter.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use SimpleSAML\Error\Exception;
66
use SimpleSAML\Logger;
7+
use SimpleSAML\Configuration;
78

89
/**
910
* Class sspmod_perun_Auth_Process_ProxyFilter
@@ -46,9 +47,9 @@ public function __construct($config, $reserved)
4647
{
4748
parent::__construct($config, $reserved);
4849

49-
$conf = SimpleSAML\Configuration::loadFromArray($config);
50+
$conf = Configuration::loadFromArray($config);
5051
$this->config = $conf->getArray('config');
51-
$this->nestedClass = SimpleSAML\Configuration::loadFromArray($this->config)->getString('class');
52+
$this->nestedClass = Configuration::loadFromArray($this->config)->getString('class');
5253
unset($this->config['class']);
5354
$this->filterSPs = $conf->getArray('filterSPs', []);
5455
$this->filterAttributes = $conf->getArray('filterAttributes', []);
@@ -72,7 +73,7 @@ public function process(&$request)
7273
$this->nestedClass,
7374
$attr,
7475
$value
75-
);
76+
)
7677
);
7778

7879
return;
@@ -88,7 +89,7 @@ public function process(&$request)
8889
"perun.ProxyFilter: Filtering out filter %s for SP %s",
8990
$this->nestedClass,
9091
$currentSp
91-
);
92+
)
9293
);
9394

9495
return;

0 commit comments

Comments
 (0)