Skip to content
Snippets Groups Projects
Commit 2ee0f499 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

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
parent 4533ad6f
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,10 @@ $metadata = array( ...@@ -28,7 +28,10 @@ $metadata = array(
'spNameQualifier' => 'dev.andreas.feide.no', 'spNameQualifier' => 'dev.andreas.feide.no',
'ForceAuthn' => 'false', 'ForceAuthn' => 'false',
'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient', '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( ...@@ -43,6 +46,7 @@ $metadata = array(
'spNameQualifier' => 'google.com', 'spNameQualifier' => 'google.com',
'ForceAuthn' => 'false', 'ForceAuthn' => 'false',
'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:email', 'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:email',
'simplesaml.nameidattribute' => 'uid', 'simplesaml.nameidattribute' => 'uid',
'simplesaml.attributes' => false 'simplesaml.attributes' => false
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment