How to add a new Authentication Scheme Copy the nearest existing auth scheme and modify to receive the appropriate scheme headers. Now step through the acl.c MatchAclProxyUser function's code path and see how the functions call down through authenticate.c to your scheme. Write a helper to provide you scheme with any backend existence it needs. Test it again. Now port to all the existing auth schemes, or at least add a setting of NULL for the function for each scheme.
Basic authentication provides a username and password.
The following simple perl script demonstrates how the authentication module works.