diff options
author | Rebecka Gulliksson <rebecka.gulliksson@umu.se> | 2015-12-10 05:46:26 +0100 |
---|---|---|
committer | Rebecka Gulliksson <rebecka.gulliksson@umu.se> | 2015-12-10 05:46:26 +0100 |
commit | 9145be3369b5e0987a0d8ae94699b730540a3f3e (patch) | |
tree | c8f6134962ddc0974a701a81c4459775c11bce88 /example | |
parent | fdb37b09e9b411b46ae14e93316c599def1196b5 (diff) | |
download | pysaml2-9145be3369b5e0987a0d8ae94699b730540a3f3e.tar.gz |
Adds some attributes to the IdP user 'testuser'.
Diffstat (limited to 'example')
-rw-r--r-- | example/idp2/idp_user.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/example/idp2/idp_user.py b/example/idp2/idp_user.py index 71e9bf96..e16e7069 100644 --- a/example/idp2/idp_user.py +++ b/example/idp2/idp_user.py @@ -1,5 +1,5 @@ -#from dirg_util.dict import LDAPDict -#ldap_settings = { +# from dirg_util.dict import LDAPDict +# ldap_settings = { # "ldapuri": "ldaps://ldap.test.umu.se", # "base": "dc=umu, dc=se", # "filter_pattern": "(uid=%s)", @@ -30,9 +30,9 @@ # "exact_match": True, # "firstonly_len1": True, # "timeout": 15, -#} -#Uncomment to use a LDAP directory instead. -#USERS = LDAPDict(**ldap_settings) +# } +# Uncomment to use a LDAP directory instead. +# USERS = LDAPDict(**ldap_settings) USERS = { "testuser": { @@ -54,7 +54,9 @@ USERS = { "email": "test@example.com", "displayName": "Test Testsson", "labeledURL": "http://www.example.com/test My homepage", - "norEduPersonNIN": "SE199012315555" + "norEduPersonNIN": "SE199012315555", + "postaladdress": "postaladdress", + "cn": "cn" }, "roland": { "sn": "Hedberg", @@ -67,7 +69,7 @@ USERS = { "o": "Example Co.", "ou": "IT", "initials": "P", - #"schacHomeOrganization": "example.com", + # "schacHomeOrganization": "example.com", "mail": "roland@example.com", "displayName": "P. Roland Hedberg", "labeledURL": "http://www.example.com/rohe My homepage", @@ -91,4 +93,4 @@ EXTRA = { "schacGender": "male", "schacUserPresenceID": "skype:pepe.perez" } -}
\ No newline at end of file +} |