From 7407b64481bc49ad552f9ba0ff2efe1f6fb0982e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 5 Mar 2015 17:26:45 -0500 Subject: Add support for handling Basic Auth Support either passing Basic Auth Through to another module, or handling it directly through gss_acquire_cred_with_password() Fixes #8 --- src/mod_auth_gssapi.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mod_auth_gssapi.h') diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index 6d8ab1b..9ebadcc 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -43,6 +43,11 @@ struct mag_config { char *deleg_ccache_dir; gss_key_value_set_desc *cred_store; struct seal_key *mag_skey; + enum { + BA_OFF = 0, + BA_FORWARD = 1, + BA_ON = 2 + } basic_auth; }; struct mag_conn { @@ -52,4 +57,5 @@ struct mag_conn { const char *user_name; const char *gss_name; time_t expiration; + const char *auth_type; }; -- cgit