[RADIATOR] log the matched AuthBy identifier

Hartmaier Alexander alexander.hartmaier at t-systems.at
Fri Oct 24 08:32:37 CDT 2014


On 2014-10-24 13:20, Heikki Vatiainen wrote:
> On 23.10.2014 15.31, Hartmaier Alexander wrote:
>
>> I'm trying to log the name of the AuthBy that accepted a request for a
>> Handler that has multiple AuthBys.
>>
>> I've tried %{Auth-Type}, %{Request:Auth-Type} ad %{Reply:Auth-Type}
>> because that's included in the dictionary and mentioned in the reference
>> manual for the AuthBy identifier but none of the three worked.
> We could add %{AuthBy:name} special that behaves like %{Handler:name}.
> See section "5.2 Special characters" in the reference manual.
>
> This would give you access to Identifier and other parameters for the
> currently evaluated AuthBy within the AuthBy and the last AuthBy
> evaluated by the Handler. Last would also mean the last AuthBy when the
> AuthByPolicy has determined no more AuthBys should be evaluated.
>
> In other words, this would allow you to log %{AuthBy:Identifier} in the
> AuthLog and see which was the last AuthBy that was evaluated.
>
> Is this what you are thinking of?
Yes, that would be great, thanks!
>
> Thanks,
> Heikki
>



*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*


More information about the radiator mailing list