X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=blobdiff_plain;f=src%2Fmod_auth_gssapi.h;h=efe230dda6a9d5fde01388ab0ed8a75891f9b779;hp=2022061c2f83a5b724ec22bb66c3c84c0a2240f5;hb=e6d9a30c889fe042cf3ad5073519f348dbe924f0;hpb=342cea568dc94ed0d35dca27a90fc704d0424da1 diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index 2022061..efe230d 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -2,16 +2,21 @@ #include #include +#include #include #include +#define APR_WANT_STRFUNC +#include "apr_want.h" +#include +#include + #include #include #include #include #include -#include -#include +#include /* apache's httpd.h drags in empty PACKAGE_* variables. * undefine them to avoid annoying compile warnings as they @@ -23,10 +28,30 @@ #undef PACKAGE_VERSION #include "config.h" +#include "crypto.h" +#include "sessions.h" + +#define MIN_SESS_EXP_TIME 300 /* 5 minutes validity minimum */ + struct mag_config { + apr_pool_t *pool; bool ssl_only; bool map_to_local; bool gss_conn_ctx; - gss_key_value_set_desc cred_store; + bool use_sessions; + 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 { + apr_pool_t *parent; + gss_ctx_id_t ctx; + bool established; + const char *user_name; + const char *gss_name; + time_t expiration; + const char *auth_type; +};