On Wed, Jan 24, 2018 at 10:41 AM, Eric Covener <covener@xxxxxxxxx> wrote: > On Wed, Jan 24, 2018 at 9:07 AM, Torsten Krah <krah.tm@xxxxxxxxx> wrote: >> Is there some way to determine in a c-module which registered a authn >> hook for authorization, if any other hook is configured in the "Check >> User ID" phase of request processing? >> >> Looking at: >> >> https://httpd.apache.org/docs/2.4/de/mod/mod_lua.html#writinghooks >> >> i can register a hook to negotiated the user ID (in any arbitrary way >> and set r.user = 'foo'). >> >> How can any other module in the auth stack chain determine if there is >> some auth hook registered for e.g. the "Check User ID" phase, if it >> want's to know that detail? >> > > You might find some good hints in mod_info.c since it is able to > display the ordered participants in each hook. It does seem like a risky idea to do it for anything but problem determination, though. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx