I've never done it, but it should be something like:

<AuthBy FILE>
        Identifier FileAuthenticator
        ...(the stuff you need to authenticate from your file)
</AuthBy>

<Handler conditionA>
        AuthBy FileAuthenticator
</Handler>

<Handler conditionB>
        AuthBy FileAuthenticator
</Handler>

<Handler conditionC>
        AuthBy FileAuthenticator
</Handler>

...

<Handler conditionX>
        AuthBy FileAuthenticator
</Handler>


El 8 May 2001, a las 10:07, Jared Reimer escribi�:

> Hello..
> 
> Forgive my cluelessness; I am new to Radiator and am evaluating it for use 
> in a production environment.  I have found it useful to use regular 
> expressions in handlers, and am now wondering:  Is it possible to make 
> arbitrarily complex handlers, e.g. handlers that do something like this:
> 
> <Handler (conditionA || conditionB || conditionC || ... || conditionX)>
> ...
> </Handler>
> 
> I have tried doing this and have not had good luck thus far.
> 
> The reason I am trying to do this is simple:  I currently have two handlers 
> that authenticate against the same massive users file, and am trying to 
> eliminate the inefficiency of caching that file twice at startup.  (Is 
> Radiator smart enough to not do that?  It doesn't appear so, based on the 
> debug output I get when I fire the daemon up.)
> 
> Thoughts??
> 
> -- Jared
> 

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to