Improve Basic Auth based logins
[mod_auth_gssapi.git] / src / mod_auth_gssapi.h
index 6a21254..4cf7d39 100644 (file)
@@ -5,6 +5,7 @@
 #include <time.h>
 #include <gssapi/gssapi.h>
 #include <gssapi/gssapi_ext.h>
+#include <gssapi/gssapi_krb5.h>
 
 #define APR_WANT_STRFUNC
 #include "apr_want.h"
@@ -39,8 +40,11 @@ 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;
+    bool use_basic_auth;
 };
 
 struct mag_conn {
@@ -50,4 +54,5 @@ struct mag_conn {
     const char *user_name;
     const char *gss_name;
     time_t expiration;
+    const char *auth_type;
 };