Skip to content

Commit

Permalink
Import metadata-templates from base repository
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Aug 18, 2019
1 parent db8aee0 commit ce07b8b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions metadata-templates/adfs-idp-hosted.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

$metadata['__DYNAMIC:1__'] = [
'host' => '__DEFAULT__',
'privatekey' => 'server.pem',
'certificate' => 'server.crt',
'auth' => 'example-userpass',
'authproc' => [
// Convert LDAP names to WS-Fed Claims.
100 => ['class' => 'core:AttributeMap', 'name2claim'],
],
];
12 changes: 12 additions & 0 deletions metadata-templates/adfs-sp-remote.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

$metadata['urn:federation:localhost'] = [
'prp' => 'https://localhost/adfs/ls/',
'simplesaml.nameidattribute' => 'uid',
'authproc' => [
50 => [
'class' => 'core:AttributeLimit',
'cn', 'mail', 'uid', 'eduPersonAffiliation',
],
],
];

0 comments on commit ce07b8b

Please sign in to comment.