...
Code Block | ||
---|---|---|
| ||
$metadata['__DYNAMIC:1__'] = array(
'host' => '__DEFAULT__',
'auth' => 'example-userpass',
'privatekey' => 'server.key',
'certificate' => 'server.crt',
'signature.algorithm' => 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256',
'attributes.NameFormat' => 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
'authproc' => array(
97 => array(
'class' => 'saml:AuthnContextClassRef',
'AuthnContextClassRef' => 'skolfederation.se-bas',
),
100 => array(
'class' => 'core:AttributeMap',
'name2oid'
),
),
);
|
...
Code Block |
---|
'example-userpass' => array( 'exampleauth:UserPass', 'student:studentpass' => array( 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6' => array('student@example.com'), 'urn:oid:0.9.2342.19200300.100.1.3' => array('student@mymail.loc'), ), 'teacher:teacherpass' => array( 'urn:oid:1.32.6752.1194.410.1.5923.1.1.1.62.4' => array('2699'), 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6' => array('teacher@example.com'), 'urn:oid:0.9.2342.19200300.100.1.3' => array('teacher@mymail.loc.com'), 'urn:oid:2.5.4.42' => array('Teacher'), 'urn:oid:2.5.4.4' => array('Tester'), ), ), |
Metadata
Get the metadata describing the IdP. Change the hostnamn. --no-check-certificate is only needed if the HTTPS certificate is self-signed.
...