diff --git a/metadata-templates/adfs-idp-hosted.php b/metadata-templates/adfs-idp-hosted.php new file mode 100644 index 0000000..dd81340 --- /dev/null +++ b/metadata-templates/adfs-idp-hosted.php @@ -0,0 +1,12 @@ + '__DEFAULT__', + 'privatekey' => 'server.pem', + 'certificate' => 'server.crt', + 'auth' => 'example-userpass', + 'authproc' => [ + // Convert LDAP names to WS-Fed Claims. + 100 => ['class' => 'core:AttributeMap', 'name2claim'], + ], +]; diff --git a/metadata-templates/adfs-sp-remote.php b/metadata-templates/adfs-sp-remote.php new file mode 100644 index 0000000..ec2d79c --- /dev/null +++ b/metadata-templates/adfs-sp-remote.php @@ -0,0 +1,12 @@ + 'https://localhost/adfs/ls/', + 'simplesaml.nameidattribute' => 'uid', + 'authproc' => [ + 50 => [ + 'class' => 'core:AttributeLimit', + 'cn', 'mail', 'uid', 'eduPersonAffiliation', + ], + ], +];