From 97252a3610238e6491049004b750af2eea632b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Ates?= Date: Wed, 21 Mar 2012 17:24:45 +0100 Subject: [PATCH] [attribute_aggregator] Add age definition. --- acs/attribute_aggregator/mapping.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/acs/attribute_aggregator/mapping.py b/acs/attribute_aggregator/mapping.py index ba1ba57..22841ac 100644 --- a/acs/attribute_aggregator/mapping.py +++ b/acs/attribute_aggregator/mapping.py @@ -32,6 +32,26 @@ ATTRIBUTE_MAPPING = { "type": "http://www.w3.org/2001/XMLSchema#string", }, +#Extracted from openldap schema /etc/ldap/schema/core.ldif +"age": { + "oid": "1.2.3.4", + "display_name": _("Age"), + "profile_field_name": 'age', + "type": "http://www.w3.org/2001/XMLSchema#integer", + "namespaces": { + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims": { + "identifiers": + [ + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth", + ], + "friendly_names": + [ + "Date Of Birth", + ], + } + } +}, + #Extracted from openldap system schema "extensibleObject": { "oid": "1.3.6.1.4.1.1466.101.120.111",