[RADIATOR] Same code for ReplyHook & PostAuthHook hooks

2013-09-04 Thread Jim Tyrrell
Hi, I am writing a hook to add attributes to a reply after the user has been authenticated either by local LDAP or RADIUS proxy, so I need to use PostAuthHook for LDAP and ReplyHook for the proxied requests. I'd like to have the same script handle both, but the attributes are slightly differe

Re: [RADIATOR] Same code for ReplyHook & PostAuthHook hooks

2013-09-04 Thread Heikki Vatiainen
On 09/04/2013 03:49 PM, Jim Tyrrell wrote: > Is there a way I can see in my code which type of Hook it has been > called as so I can use the correct arguments and checks? Hello Jim, you could consider this method: http://www.open.com.au/pipermail/radiator/2013-January/018865.html In addition t