Let me prefix this by saying that although I am comfortable using Cake, I am very much not comfortable writing my own custom components.
I have been trying to wrap my head around:
https://book.cakephp.org/authentication/2/en/identifiers.html#writing-your-own-resolver
The documentation is a little… sparse as to how to actually implement this.
Specifically, I am trying to write a resolver that can authenticate against MS Active Directory. I have existing code from a non-Cake app to do this as a straight LDAP → AD connection is fraught with quirks.
Does anybody have a tutorial/working example of a custom identifier? I would be great to have a complete example to base myself on that isn’t an existing component of the core Authentication plugin.
Thanks!