(RADIATOR) Question about Handler.
Hugh Irvine
hugh at open.com.au
Tue Nov 23 15:17:50 CST 2004
Hello Ricardo -
You cannot nest Handlers inside other Handlers.
However you can use multiple checks:
<Handler RULE1="something1", Digest-Method=REGISTER>
<AuthBy FILE>
.......
</AuthBy>
</Handler>
<Handler RULE1="something1", Digest-Method=INVITE>
<AuthBy FILE>
.......
</AuthBy>
</Handler>
........
regards
Hugh
On 24 Nov 2004, at 08:07, Ricardo Martinez wrote:
> Hello List.
> I have a question related with handlers. In my actual platform i
> have two handlers for two different types of messages. This
> configuration
> permits make different querys to my Database.
>
> For example i have :
>
> <Handler Digest-Method=REGISTER>
> <AuthBy FILE>
> .......
> </AuthBy>
> </Handler>
>
> <Handler Digest-Method=INVITE>
> # Look up user details in a flat file
> <AuthBy FILE>
> .......
> </AuthBy>
> </Handler>
>
> What i'm trying to do know is insert this two handlers into two more
> general
> rules. This is what i'm trying to do :
>
> <Handler RULE1="something1">
> <Handler Digest-Method=REGISTER>
> <AuthBy FILE>
> .......
> </AuthBy>
> </Handler>
>
> <Handler Digest-Method=INVITE>
> <AuthBy FILE>
> .......
> </AuthBy>
> </Handler>
> </Handler>
>
> <Handler RULE2="something2">
> <Handler Digest-Method=REGISTER>
> <AuthBy FILE>
> .......
> </AuthBy>
> </Handler>
>
> <Handler Digest-Method=INVITE>
> <AuthBy FILE>
> .......
> </AuthBy>
> </Handler>
> </Handler>
>
> Is this possible?.
> If this is not possible what could be a similar approach?
> Thanks in advance
>
> Best regards,
> Ricardo Martinez Ogalde
>
> --
> 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.
>
>
NB:
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive
(www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
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