httpd-modules-dev mailing list archives

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
William A. Rowe, Jr. wrote:
> It's non-trivial but is the best example, I'd point you to FakeBasicAuth
> in mod_ssl.
It's a GREAT example. I'm now there: ssl_engine_kernel.c line 1149:
/*
* Auth Handler:
* Fake a Basic authentication from the X509 client certificate.
*
* This must be run fairly early on to prevent a real authentication from
* occuring, in particular it must be run before anything else that
* authenticates a user. This means that the Module statement for this
* module should be LAST in the Configuration file.
*/
It even fakes a password :P
Thanks Will!
- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
Foros GNU/Buanzo: Respeto, Soluciones y Buena Onda: http://foros.buanzo.com.ar
Consulting and Secure Mail Hosting: http://www.buanzo.com.ar/pro/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGGB2mAlpOsGhXcE0RCtdNAJ9OGXZUFSjZ/dcolqcqibP5pa44wQCfYusr
YASK+KG6GkQ5FYtjfivwT0A=
=FGJX
-----END PGP SIGNATURE-----