<div>
Hey,
</div><div><br></div><div>I've been overriding the vanilla rabbit_auth_mechanism_plain with a plugin that implements SASL/PLAIN.</div><div><br></div><div>It seems that if I shadow the registry of the rabbit_auth_mechanism_plain with my custom mechanism with the same key, because the plugin loader boots my stuff after the core stuff, my definition overrides the previous definition.</div><div><br></div><div>Though this behaviour is cool, I was wondering how stable it would remain over time, and whether this particular boot sequence was just happenstance.</div><div><br></div><div>So what I've done is to define a boot step that first unregisters the vanilla rabbit_auth_mechanism_plain. If I add this step as a dependency for a second step that registers my custom mechanism this seems to work well.</div><div><br></div><div>But I'm wondering if I'm going about this in the wrong way.</div><div><br></div><div>Also, I've added a third boot step to kick off some custom initialization for my plugin - so I was also wondering whether this is idiomatic or not.</div><div><br></div><div>Cheers,</div><div><br></div><div>Ben</div>
<div></div>