Handle authentication on subrequests
authorSimo Sorce <simo@redhat.com>
Mon, 30 Mar 2015 16:48:30 +0000 (12:48 -0400)
committerSimo Sorce <simo@redhat.com>
Tue, 31 Mar 2015 16:18:05 +0000 (12:18 -0400)
commite5db7c1f5738c7874e73869a2f4511193f956b81
tree330afe698ef7592211c8517cb513654095d6c8fd
parent286e3dac69c3d4b32db93de1f9937f434383588f
Handle authentication on subrequests

In some cases (like during directory listing) Apache will re-run the
authentication code. Many GSSAPI mechanism have replay detection so
we cannot simply rerun the accept_sec_context phase. Others require
multiple steps. When authntication has already been estalished just
implicitly consider the authentication successfully performed and
copy the user name. Otherwise fail.
If a subrequest hits a location with a different mod_auth_gssapi
configuration warn but do not error off right away.

Fixes #15
src/mod_auth_gssapi.c