Re: How to determine if some hook functions are registered for e.g the "Check User ID" phase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux