ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
SSOService.php
Go to the documentation of this file.
1<?php
11require_once('../../_include.php');
12
13SimpleSAML\Logger::info('SAML2.0 - IdP.SSOService: Accessing SAML 2.0 IdP endpoint SSOService');
14
16$idpEntityId = $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted');
18try {
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}
27assert('FALSE');
An exception for terminatinating execution or to throw for unit testing.
static info($string)
Definition: Logger.php:201
static getById($id)
Retrieve an IdP by ID.
Definition: IdP.php:131
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
static receiveAuthnRequest(SimpleSAML_IdP $idp)
Receive an authentication request.
Definition: SAML2.php:248
$idpEntityId
Definition: SSOService.php:16
$idp
Definition: SSOService.php:17
$metadata
Definition: SSOService.php:15