Add support for handling Basic Auth
[mod_auth_gssapi.git] / src / mod_auth_gssapi.h
index 6a21254..9ebadcc 100644 (file)
@@ -39,8 +39,15 @@ struct mag_config {
     bool map_to_local;
     bool gss_conn_ctx;
     bool use_sessions;
-    gss_key_value_set_desc cred_store;
+    bool use_s4u2proxy;
+    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 {
@@ -50,4 +57,5 @@ struct mag_conn {
     const char *user_name;
     const char *gss_name;
     time_t expiration;
+    const char *auth_type;
 };