Add attribute mapping for user information
authorSimo Sorce <simo@redhat.com>
Thu, 9 Oct 2014 18:44:04 +0000 (14:44 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Fri, 24 Oct 2014 16:03:18 +0000 (18:03 +0200)
commitd274763d8dc06b42f70014b14fcb2e852c086751
treed27d9caa5ea65440325fbb94c454f4ab1e5b0172
parentf461a713ce28e434a34dca4e4d1abbfe255ef1ff
Add attribute mapping for user information

When user information is retrieved we map any wellknown data to a
standardized set of names.
A ne InfoMapping class takes cares of helping the info modules to
map the data they retrieve so that providers can find it in wellknown
attribute names for further use.
Mapping of attribute names for diplay purposes is also provided.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/info/common.py
ipsilon/info/infoldap.py
ipsilon/info/nss.py
ipsilon/login/authldap.py
ipsilon/login/authtest.py
ipsilon/login/common.py
ipsilon/providers/openid/auth.py
ipsilon/providers/openidp.py
ipsilon/providers/saml2/auth.py
templates/openid/consent_form.html