13 Dec
2012
13 Dec
'12
7:05 a.m.
On 12/12/12 22:04, laurent.feron@free.fr wrote:
Hello,
If someone can advise me... How to share information between the authorize() function and the authenticate() function within a perl or python script ?
Just set an attribute: authorize { update request { Tmp-String-0 := "%{some:expansion}" } ... } authenticate { Auth-Type XXX { if (Tmp-String-0 == "a") { module_a } else { module_b } } } ...re-work as appropriate for your use-case.