Skip to content
Snippets Groups Projects
Commit cf083231 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Remove legacy code

parent 063ec03d
No related branches found
No related tags found
No related merge requests found
...@@ -58,15 +58,9 @@ if (!($request instanceof ArtifactResolve)) { ...@@ -58,15 +58,9 @@ if (!($request instanceof ArtifactResolve)) {
throw new Exception('Message received on ArtifactResolutionService wasn\'t a ArtifactResolve request.'); throw new Exception('Message received on ArtifactResolutionService wasn\'t a ArtifactResolve request.');
} }
$issuer = $request->getIssuer(); $issuer = $request->getIssuer()->getValue();
if (!is_string($issuer)) {
$issuer = $issuer->getValue();
}
$spMetadata = $metadata->getMetaDataConfig($issuer, 'saml20-sp-remote'); $spMetadata = $metadata->getMetaDataConfig($issuer, 'saml20-sp-remote');
$artifact = $request->getArtifact(); $artifact = $request->getArtifact();
$responseData = $store->get('artifact', $artifact); $responseData = $store->get('artifact', $artifact);
$store->delete('artifact', $artifact); $store->delete('artifact', $artifact);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment