ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SSOService.php
Go to the documentation of this file.
1 <?php
11 require_once('../../_include.php');
12 
13 SimpleSAML\Logger::info('SAML2.0 - IdP.SSOService: Accessing SAML 2.0 IdP endpoint SSOService');
14 
16 $idpEntityId = $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted');
18 try {
20 } catch (Exception $e) {
21  if ($e->getMessage() === "Unable to find the current binding.") {
22  throw new SimpleSAML_Error_Error('SSOPARAMS', $e, 400);
23  } else {
24  throw $e; // do not ignore other exceptions!
25  }
26 }
27 assert(false);
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
$idpEntityId
Definition: SSOService.php:16
static getById($id)
Retrieve an IdP by ID.
Definition: IdP.php:124
static receiveAuthnRequest(SimpleSAML_IdP $idp)
Receive an authentication request.
Definition: SAML2.php:248
static info($string)
Definition: Logger.php:199
$metadata
Definition: SSOService.php:15
$idp
Definition: SSOService.php:17