summaryrefslogtreecommitdiffstats
path: root/src/mod_auth_gssapi.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-06-19 17:11:42 -0400
committerSimo Sorce <simo@redhat.com>2015-06-20 17:38:49 -0400
commitdb999f985dc4357e32db6bcc893aa354d2595c98 (patch)
treec54f633c5e7f2f95e8cfe845261a4153abc6381d /src/mod_auth_gssapi.h
parent79cb8bb8418cca0c408db3c79d78fa23d5e18564 (diff)
downloadmod_auth_gssapi-db999f985dc4357e32db6bcc893aa354d2595c98.tar.gz
mod_auth_gssapi-db999f985dc4357e32db6bcc893aa354d2595c98.tar.xz
mod_auth_gssapi-db999f985dc4357e32db6bcc893aa354d2595c98.zip
Add GssapiBasicAuthMech option
This option allows to set a different list of mechanisms to use with Basic Auth (Basic Auth must be explicitly enabled) than the list of mechs that are allowed with Negotiate or Raw GSSAPI Client authentication. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/mod_auth_gssapi.h')
-rw-r--r--src/mod_auth_gssapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h
index b606803..2e05bb0 100644
--- a/src/mod_auth_gssapi.h
+++ b/src/mod_auth_gssapi.h
@@ -55,8 +55,10 @@ struct mag_config {
gss_key_value_set_desc *cred_store;
#endif
struct seal_key *mag_skey;
+
bool use_basic_auth;
gss_OID_set_desc *allowed_mechs;
+ gss_OID_set_desc *basic_mechs;
};
struct mag_conn {