(RADIATOR) Handlers

Mariano Absatz lradius at pert.com.ar
Tue May 8 13:16:17 CDT 2001


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 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