From a2c2a02edaadda09408708cf9d7b57aa59ae4b39 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 25 May 2015 16:46:23 +0200 Subject: Add GssapiAllowedMech option This option allows the admin to list the mechanisms that can be used for authentication. An empty list allows any locally supported mechanisms. --- src/mod_auth_gssapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mod_auth_gssapi.h') diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index d540ee1..2d8ffff 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -6,6 +6,7 @@ #include #include #include +#include #define APR_WANT_STRFUNC #include "apr_want.h" @@ -55,6 +56,7 @@ struct mag_config { #endif struct seal_key *mag_skey; bool use_basic_auth; + gss_OID_set_desc *allowed_mechs; }; struct mag_conn { -- cgit