ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ArtifactResolutionService.php File Reference

Go to the source code of this file.

Namespaces

 SimpleSAMLphp
 Temporary autoloader to ensure compatibility with old, non-PSR-2 compliant classes.
 

Variables

 $config = SimpleSAML_Configuration::getInstance()
 
if(! $config->getBoolean('enable.saml20-idp', false)) $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler()
 
 $idpEntityId = $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted')
 
 $idpMetadata = $metadata->getMetaDataConfig($idpEntityId, 'saml20-idp-hosted')
 
if(! $idpMetadata->getBoolean('saml20.sendartifact', false)) $store = \SimpleSAML\Store::getInstance()
 
if($store===false) $binding = new \SAML2\SOAP()
 
 try
 
catch(Exception $e) if(!($request instanceof \SAML2\ArtifactResolve)) $issuer = $request->getIssuer()
 
 $spMetadata = $metadata->getMetadataConfig($issuer, 'saml20-sp-remote')
 
 $artifact = $request->getArtifact()
 
 $responseData = $store->get('artifact', $artifact)
 
if($responseData !==null) else
 
 $artifactResponse = new \SAML2\ArtifactResponse()
 

Variable Documentation

◆ $artifact

◆ $artifactResponse

$artifactResponse = new \SAML2\ArtifactResponse()

Definition at line 63 of file ArtifactResolutionService.php.

Referenced by SAML2\HTTPArtifact\send().

◆ $binding

if ( $store===false) $binding = new \SAML2\SOAP()

Definition at line 31 of file ArtifactResolutionService.php.

◆ $config

◆ $idpEntityId

$idpEntityId = $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted')

Definition at line 19 of file ArtifactResolutionService.php.

◆ $idpMetadata

$idpMetadata = $metadata->getMetaDataConfig($idpEntityId, 'saml20-idp-hosted')

Definition at line 20 of file ArtifactResolutionService.php.

◆ $issuer

◆ $metadata

if (! $config->getBoolean( 'enable.saml20-idp', false)) $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler()

Definition at line 18 of file ArtifactResolutionService.php.

◆ $responseData

$responseData = $store->get('artifact', $artifact)

Definition at line 53 of file ArtifactResolutionService.php.

◆ $spMetadata

$spMetadata = $metadata->getMetadataConfig($issuer, 'saml20-sp-remote')

Definition at line 49 of file ArtifactResolutionService.php.

◆ $store

if (! $idpMetadata->getBoolean( 'saml20.sendartifact', false)) $store = \SimpleSAML\Store::getInstance()

Definition at line 26 of file ArtifactResolutionService.php.

◆ else

if ( $responseData !==null) else
Initial value:
{
$responseXML = null

Definition at line 59 of file ArtifactResolutionService.php.

◆ try

try
Initial value:
{
$request = $binding->receive()
foreach($paths as $path) $request
Definition: asyncclient.php:32
if($store===false) $binding

Definition at line 32 of file ArtifactResolutionService.php.