summaryrefslogtreecommitdiffstats
path: root/src/mod_auth_gssapi.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-03-05 17:26:45 -0500
committerSimo Sorce <simo@redhat.com>2015-03-05 19:12:27 -0500
commit7407b64481bc49ad552f9ba0ff2efe1f6fb0982e (patch)
tree44807556b237d035f77fffbf0d9d5b76cc1b6cd5 /src/mod_auth_gssapi.h
parent2411072a27749c5038c07d6863e5a5dfd95f8aee (diff)
downloadmod_auth_gssapi-7407b64481bc49ad552f9ba0ff2efe1f6fb0982e.tar.gz
mod_auth_gssapi-7407b64481bc49ad552f9ba0ff2efe1f6fb0982e.tar.xz
mod_auth_gssapi-7407b64481bc49ad552f9ba0ff2efe1f6fb0982e.zip
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
Diffstat (limited to 'src/mod_auth_gssapi.h')
-rw-r--r--src/mod_auth_gssapi.h6
1 files changed, 6 insertions, 0 deletions
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;
};