(RADIATOR) PreHandlerHook?

Frank Danielson fdanielson at csky.com
Thu Aug 3 11:54:08 CDT 2006


Try a PreAuthHook as described in Section 5.17.13 in the manual. The
PreAuthHook is defined in a handler and is ran before any AuthBy clauses are
processed.

<Handler Realm=10.0.0.1,Digest-Method=REGISTER> 
	PreAuthHook file:"hook.pl"
	<AuthBy SOMETHING>
		.....
	</AuthBy>
</Handler> 

If you want to run a hook between two AuthBy's within a Handler you can use
an AuthBy INTERNAL between the other two AuthBy's and one of the internal
hooks described in section 5.48 of the manual. This example will run hook.pl
for every request after AuthBy SOMETHING and before AuthBy SOMETHINGELSE.

<Handler Realm=10.0.0.1,Digest-Method=REGISTER> 
	<AuthBy SOMETHING>
		.....
	</AuthBy>
	<AuthBy INTERNAL>
		RequestHook file:"hook.pl"
	</AuthBy>
	<AuthBy SOMETHINGELSE>
		.....
	</AuthBy>
</Handler> 

Frank Danielson
Infrastructure Architect

ClearSky Mobile Media
56 E. Pine St.
Orlando, FL 32801
USA

fdanielson at csky.com

-----Original Message-----
From: Ricardo Martinez [mailto:rmartinez at redvoiss.net]
Sent: Thursday, August 03, 2006 12:20 PM
To: radiator at open.com.au
Subject: (RADIATOR) PreHandlerHook?


Hello again. 
        Is there a way to execute a hook for a particular handler?.  For
example i have a hanlder like this. 
<Handler Realm=10.0.0.1,Digest-Method=REGISTER> 
 ..... 
</Handler> 
If the answer is yes , How is the format ? 
Thanks! 
Ricardo Martinez.- 

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list