Remove ldap2identity overloaded method, since it was integrated in authentic

This commit is contained in:
Benjamin Dauvergne 2010-06-18 20:55:46 +02:00
parent eb523bacea
commit c489213bf6
1 changed files with 0 additions and 8 deletions

View File

@ -58,12 +58,4 @@ class IdentitiesStoreIFEF(authentic.identities.IdentitiesStoreLdap):
self.alpha_request_str = '(&(uid=%%s*)(objectclass=%(oc)s))' % \
{ 'oc': self.ldap_object_class }
def ldap2identity(self, v):
i = authentic.identities.IdentitiesStoreLdap.ldap2identity(self, v)
if self.ldap_object_name:
keys=self.ldap_object_name.split('+')
values=[ v[1].get(key.strip())[0] for key in keys if key in v[1]]
i.name = ' '.join([utf82sitecharset(v) for v in values if v])
return i
authentic.identities.stores['ifef'] = IdentitiesStoreIFEF