diff options
author | Simo Sorce <simo@redhat.com> | 2015-06-13 16:46:40 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-06-13 17:27:25 -0400 |
commit | c4aa3d46e334461988acf17596fd34a6baa82aa3 (patch) | |
tree | 028c80264b4e3a4492234b63b50b58eb6d7e60c5 /src/mod_auth_gssapi.h | |
parent | 0de0d0789d32b3517a75e77e5358303f73d84ad4 (diff) | |
download | mod_auth_gssapi-c4aa3d46e334461988acf17596fd34a6baa82aa3.tar.gz mod_auth_gssapi-c4aa3d46e334461988acf17596fd34a6baa82aa3.tar.xz mod_auth_gssapi-c4aa3d46e334461988acf17596fd34a6baa82aa3.zip |
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>
Diffstat (limited to 'src/mod_auth_gssapi.h')
-rw-r--r-- | src/mod_auth_gssapi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index 97ba2c8..00765c4 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -68,6 +68,7 @@ struct mag_conn { time_t expiration; int auth_type; bool delegated; + struct databuf basic_hash; }; #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) |