Retrieve default mechs at server init
authorIsaac Boukris <iboukris@gmail.com>
Tue, 23 Jun 2015 01:13:20 +0000 (04:13 +0300)
committerSimo Sorce <simo@redhat.com>
Thu, 25 Jun 2015 21:10:35 +0000 (17:10 -0400)
commit46c0a47fc6b8c97733dbd687b335784db758e8ea
tree34c2a62a4439f13da3b6193d21c7c311bc0fe669
parentc27219caa2d75baf854b1535eb222d679fbe4fcd
Retrieve default mechs at server init

This avoids the need to retrieve the list on every auth attempt,
and then free it every time.

Implemented by adding a server config struct and populating
it at server init with gss_indicate_mechs().

Reviewed-by: Simo Sorce <simo@redhat.com>
src/mod_auth_gssapi.c
src/mod_auth_gssapi.h