Optimize BASIC AUTH checks with sessions.
authorSimo Sorce <simo@redhat.com>
Sat, 13 Jun 2015 20:46:40 +0000 (16:46 -0400)
committerSimo Sorce <simo@redhat.com>
Sat, 13 Jun 2015 21:27:25 +0000 (17:27 -0400)
commitc4aa3d46e334461988acf17596fd34a6baa82aa3
tree028c80264b4e3a4492234b63b50b58eb6d7e60c5
parent0de0d0789d32b3517a75e77e5358303f73d84ad4
Optimize BASIC AUTH checks with sessions.

If sessions are enbled store a MAC of the password and use it to check
if the password is the same on follow-up requests. If it is, avoid the
whole gssapi dance and use the session data instead.

Signed-off-by: Simo Sorce <simo@redhat.com>
src/crypto.c
src/crypto.h
src/mod_auth_gssapi.c
src/mod_auth_gssapi.h
src/sessions.c
src/sessions.h