From 2ee0f49962dde690217fdf596cc619ac39511f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 23 Oct 2007 11:04:06 +0000 Subject: [PATCH] ADded example of how to include attributemapping and policy in metadata git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@48 44740490-163a-0410-bde0-09ae8108e29a --- metadata-templates/saml20-sp-remote.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/metadata-templates/saml20-sp-remote.php b/metadata-templates/saml20-sp-remote.php index 0018acd4f..2a7ddbe68 100644 --- a/metadata-templates/saml20-sp-remote.php +++ b/metadata-templates/saml20-sp-remote.php @@ -28,7 +28,10 @@ $metadata = array( 'spNameQualifier' => 'dev.andreas.feide.no', 'ForceAuthn' => 'false', 'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient', - 'simplesaml.attributes' => true + + 'simplesaml.attributes' => true, +// 'attributemap' => 'test', +// 'attributes' => array('mail') ), /* @@ -43,6 +46,7 @@ $metadata = array( 'spNameQualifier' => 'google.com', 'ForceAuthn' => 'false', 'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:email', + 'simplesaml.nameidattribute' => 'uid', 'simplesaml.attributes' => false ) -- GitLab