Skip to content

Commit ce07b8b

Browse files
committed
Import metadata-templates from base repository
1 parent db8aee0 commit ce07b8b

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
$metadata['__DYNAMIC:1__'] = [
4+
'host' => '__DEFAULT__',
5+
'privatekey' => 'server.pem',
6+
'certificate' => 'server.crt',
7+
'auth' => 'example-userpass',
8+
'authproc' => [
9+
// Convert LDAP names to WS-Fed Claims.
10+
100 => ['class' => 'core:AttributeMap', 'name2claim'],
11+
],
12+
];
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
$metadata['urn:federation:localhost'] = [
4+
'prp' => 'https://localhost/adfs/ls/',
5+
'simplesaml.nameidattribute' => 'uid',
6+
'authproc' => [
7+
50 => [
8+
'class' => 'core:AttributeLimit',
9+
'cn', 'mail', 'uid', 'eduPersonAffiliation',
10+
],
11+
],
12+
];

0 commit comments

Comments
 (0)