summaryrefslogtreecommitdiffstats
path: root/inc/simplesamlphp/attributemap
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2015-03-27 17:15:46 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2015-03-27 17:15:46 (GMT)
commitc47b99cede0c135ec4b190acebf6343edca1f944 (patch)
treef443556e57d020cc006689653e7a400a36374384 /inc/simplesamlphp/attributemap
parent502161d955a871e812022a5a704c9d74d2434b39 (diff)
downloadspip-saml-c47b99cede0c135ec4b190acebf6343edca1f944.zip
spip-saml-c47b99cede0c135ec4b190acebf6343edca1f944.tar.gz
spip-saml-c47b99cede0c135ec4b190acebf6343edca1f944.tar.bz2
simplesamlphp: update to 1.13.2
Diffstat (limited to 'inc/simplesamlphp/attributemap')
-rw-r--r--inc/simplesamlphp/attributemap/name2claim.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/inc/simplesamlphp/attributemap/name2claim.php b/inc/simplesamlphp/attributemap/name2claim.php
new file mode 100644
index 0000000..ba32920
--- /dev/null
+++ b/inc/simplesamlphp/attributemap/name2claim.php
@@ -0,0 +1,14 @@
+<?php // Maps AD LDAP to Claims from http://msdn.microsoft.com/en-us/library/hh159803.aspx
+$attributemap = array(
+ 'c' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country',
+ 'givenName' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname',
+ 'mail' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',
+ 'memberOf' => 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role',
+ 'postalcode' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode',
+ 'uid' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name',
+ 'sn' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname',
+ 'st' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince',
+ 'streetaddress' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress',
+ 'telephonenumber' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone',
+);
+?>