Reference implementation of a Plone PAS plugin?

Is there a some recent and decent implementation of a Plone (user enumeration) PAS plugin that could be used a blueprint? I need to outsource some development task and the boilerplate and installation code varies widely across older and somewhat news plugin implements. Any pointer?

Here is a PAS plugin that I created this week, for getting information out of request headers:

Actually, I first started coding this in May 2017, but it was buried in other client code.
I cleaned it up and made it more general. Note: I'm still busy with it, and not using it yet. (The original code is working fine in a Plone 4.3 site.)
It should serve as a nice example of how to code a PAS plugin. A couple of months ago I copied the original code to a new project in Plone 5.1. The logic in the various plugin methods needed to be very different, but the basic code structure held up nicely.

It doesn't do user enumeration though.

Thanks, will check this...the implementation of individual interfaces is no's more about the boilerplate.

For the record, I did some more changes and made the first release, pas.plugins.headers 1.0.0a1.

(I am not using it yet, but I will soon.)

1 Like

And for good measure I released 1.0.0a2, which has no code changes, but documents the GenericSetup import step. Unlike most importers, this reads a json file, called pas.plugins.headers.json.