ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
saml20-idp-hosted.php
Go to the documentation of this file.
1<?php
8$metadata['__DYNAMIC:1__'] = array(
9 /*
10 * The hostname of the server (VHOST) that will use this SAML entity.
11 *
12 * Can be '__DEFAULT__', to use this entry by default.
13 */
14 'host' => '__DEFAULT__',
15
16 // X.509 key and certificate. Relative to the cert directory.
17 'privatekey' => 'server.pem',
18 'certificate' => 'server.crt',
19
20 /*
21 * Authentication source to use. Must be one that is configured in
22 * 'config/authsources.php'.
23 */
24 'auth' => 'example-userpass',
25
26 /*
27 * WARNING: SHA-1 is disallowed starting January the 1st, 2014.
28 *
29 * Uncomment the following option to start using SHA-256 for your signatures.
30 * Currently, SimpleSAMLphp defaults to SHA-1, which has been deprecated since
31 * 2011, and will be disallowed by NIST as of 2014. Please refer to the following
32 * document for more information:
33 *
34 * http://csrc.nist.gov/publications/nistpubs/800-131A/sp800-131A.pdf
35 *
36 * If you are uncertain about service providers supporting SHA-256 or other
37 * algorithms of the SHA-2 family, you can configure it individually in the
38 * SP-remote metadata set for those that support it. Once you are certain that
39 * all your configured SPs support SHA-2, you can safely remove the configuration
40 * options in the SP-remote metadata set and uncomment the following option.
41 *
42 * Please refer to the IdP hosted reference for more information.
43 */
44 //'signature.algorithm' => 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256',
45
46 /* Uncomment the following to use the uri NameFormat on attributes. */
47 /*
48 'attributes.NameFormat' => 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
49 'authproc' => array(
50 // Convert LDAP names to oids.
51 100 => array('class' => 'core:AttributeMap', 'name2oid'),
52 ),
53 */
54
55 /*
56 * Uncomment the following to specify the registration information in the
57 * exported metadata. Refer to:
58 * http://docs.oasis-open.org/security/saml/Post2.0/saml-metadata-rpi/v1.0/cs01/saml-metadata-rpi-v1.0-cs01.html
59 * for more information.
60 */
61 /*
62 'RegistrationInfo' => array(
63 'authority' => 'urn:mace:example.org',
64 'instant' => '2008-01-17T11:28:03Z',
65 'policies' => array(
66 'en' => 'http://example.org/policy',
67 'es' => 'http://example.org/politica',
68 ),
69 ),
70 */
71);
An exception for terminatinating execution or to throw for unit testing.
$metadata['__DYNAMIC:1__']
SAML 2.0 IdP configuration for SimpleSAMLphp.