On May 8, 2012, at 10:29 AM, Matt Simerson wrote: > On May 8, 2012, at 9:39 AM, Steve Kemp wrote: > >> [FWIW I'd agree moving the code to a central location is good, moving it >> into ::Plugin is a bad plan.] > > I didn't like putting in Qpsmtpd::Plugin either. Especially not since > Qpsmtpd::Plugin is declared and behaves differently in the test suites, which > necessitated putting the code in there too. > > How about Qpsmtpd::Plugin::auth? > > That namespace is already the parent of the auth plugins.
I just stumbled across an existing class that someone, who shall remain nameless, just refactored and added tests for. It's surprising relevant because it's named Qpsmtpd::Auth. It seems like a reasonable place for this. Thoughts? Matt