def __init__(self, **traits):

        super(ExtensionPointBinding, self).__init__(**traits)

        # Initialize the object's trait from the extension point.
        self._set_trait(notify=False)

        # Wire-up the trait change and extension point handlers.
        self._initialize()

        # We keep a reference to each binding alive until its associated
        # object is garbage collected.
        bindings = ExtensionPointBinding._bindings.setdefault(self.obj, [])
        bindings.append(self)

        return

    ###########################################################################
    # 'ExtensionPointBinding' interface.
    ###########################################################################

    #### Trait initializers ###################################################
Requires that the user be logged in order to gain access to the resource
dataset/ETHPy150Open enthought/envisage/envisage/extension_point_binding.py/ExtensionPointBinding.__init__--crossover with--dataset/ETHPy150Open croach/django-simple-rest/simple_rest/auth/decorators.py/login_required