server/sources/ldapfeed.py
changeset 8674 001c1592060a
parent 8589 ee9ecfccc3e8
child 8708 78a99960286a
equal deleted inserted replaced
8673:8ea63a2cc2cc 8674:001c1592060a
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    30     support_entities = {'CWUser': False}
    30     support_entities = {'CWUser': False}
    31     use_cwuri_as_url = False
    31     use_cwuri_as_url = False
    32 
    32 
    33     options = datafeed.DataFeedSource.options + ldaputils.LDAPSourceMixIn.options
    33     options = datafeed.DataFeedSource.options + ldaputils.LDAPSourceMixIn.options
    34 
    34 
    35     def update_config(self, source_entity, typedconfig):
       
    36         """update configuration from source entity. `typedconfig` is config
       
    37         properly typed with defaults set
       
    38         """
       
    39         datafeed.DataFeedSource.update_config(self, source_entity, typedconfig)
       
    40         ldaputils.LDAPSourceMixIn.update_config(self, source_entity, typedconfig)
       
    41 
       
    42     def _entity_update(self, source_entity):
       
    43         datafeed.DataFeedSource._entity_update(self, source_entity)
       
    44         ldaputils.LDAPSourceMixIn._entity_update(self, source_entity)