Skip to content

Commit dea1926

Browse files
committed
Fix conflict
1 parent 5a8a013 commit dea1926

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/SAML2/HTTPArtifact.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use SimpleSAML\Metadata\MetaDataStorageHandler;
1010
use SimpleSAML\Module\saml\Message as MSG;
1111
use SimpleSAML\Store\StoreFactory;
12-
use SimpleSAML\Utils;
12+
use SimpleSAML\Utils\HTTP;
1313

1414
use SAML2\Utilities\Temporal;
1515
use SAML2\XML\saml\Issuer;
@@ -69,7 +69,7 @@ public function getRedirectURL(Message $message) : string
6969
if ($destination === null) {
7070
throw new \Exception('Cannot get redirect URL, no destination set in the message.');
7171
}
72-
$httpUtils = new Utils\HTTP();
72+
$httpUtils = new HTTP();
7373
return $httpUtils->addURLparameters($destination, $params);
7474
}
7575

src/SAML2/SOAPClient.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
use SAML2\Exception\InvalidArgumentException;
1313
use SAML2\Exception\UnparseableXmlException;
1414
use SimpleSAML\Configuration;
15-
use SimpleSAML\Utils;
15+
use SimpleSAML\Utils\Config;
16+
use SimpleSAML\Utils\Crypto;
1617
//use SoapClient as BuiltinSoapClient;
1718
use SOAP_1_1;
1819

@@ -57,7 +58,7 @@ public function send(Message $msg, Configuration $srcMetadata, Configuration $ds
5758
if ($srcMetadata->hasValue('saml.SOAPClient.certificate')) {
5859
$cert = $srcMetadata->getValue('saml.SOAPClient.certificate');
5960
if ($cert !== false) {
60-
$configUtils = new Utils\Config();
61+
$configUtils = new Config();
6162
$ctxOpts['ssl']['local_cert'] = $configUtils->getCertPath(
6263
$srcMetadata->getString('saml.SOAPClient.certificate')
6364
);
@@ -66,7 +67,7 @@ public function send(Message $msg, Configuration $srcMetadata, Configuration $ds
6667
}
6768
}
6869
} else {
69-
$cryptoUtils = new Utils\Crypto();
70+
$cryptoUtils = new Crypto();
7071

7172
/* Use the SP certificate and privatekey if it is configured. */
7273
$privateKey = $cryptoUtils->loadPrivateKey($srcMetadata);

0 commit comments

Comments
 (0)