ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
saml20-sp-remote.php
Go to the documentation of this file.
1
<?
php
8
/*
9
* Example SimpleSAMLphp SAML 2.0 SP
10
*/
11
$metadata
[
'https://saml2sp.example.org'
] = array(
12
'AssertionConsumerService'
=>
'https://saml2sp.example.org/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp'
,
13
'SingleLogoutService'
=>
'https://saml2sp.example.org/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp'
,
14
);
15
16
/*
17
* This example shows an example config that works with G Suite (Google Apps) for education.
18
* What is important is that you have an attribute in your IdP that maps to the local part of the email address
19
* at G Suite. In example, if your Google account is foo.com, and you have a user that has an email john@foo.com, then you
20
* must set the simplesaml.nameidattribute to be the name of an attribute that for this user has the value of 'john'.
21
*/
22
$metadata
[
'google.com'
] = array(
23
'AssertionConsumerService'
=>
'https://www.google.com/a/g.feide.no/acs'
,
24
'NameIDFormat'
=>
'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress'
,
25
'simplesaml.nameidattribute'
=>
'uid'
,
26
'simplesaml.attributes'
=> FALSE,
27
);
28
29
$metadata
[
'https://legacy.example.edu'
] = array(
30
'AssertionConsumerService'
=>
'https://legacy.example.edu/saml/acs'
,
31
/*
32
* Currently, SimpleSAMLphp defaults to the SHA-256 hashing algorithm.
33
* Uncomment the following option to use SHA-1 for signatures directed
34
* at this specific service provider if it does not support SHA-256 yet.
35
*
36
* WARNING: SHA-1 is disallowed starting January the 1st, 2014.
37
* Please refer to the following document for more information:
38
* http://csrc.nist.gov/publications/nistpubs/800-131A/sp800-131A.pdf
39
*/
40
//'signature.algorithm' => 'http://www.w3.org/2000/09/xmldsig#rsa-sha1',
41
);
$metadata
$metadata['__DYNAMIC:1__']
Definition:
adfs-idp-hosted.php:3
php
An exception for terminatinating execution or to throw for unit testing.
libs
composer
vendor
simplesamlphp
simplesamlphp
metadata-templates
saml20-sp-remote.php
Generated on Thu Oct 2 2025 19:01:18 for ILIAS by
1.9.4 (using
Doxyfile
)