Hi All,
Is there a way to have a variable be defined or set within a certain
Realm or Handler so that the AuthBy some-auth-name could use that
variable in its processing?
realm xyz.com
variable=1
AuthBy someauthhandler
/realm
authBy SQL
query where the value of variable is desired...
/authby
Hello Tim -
The simplest way to do this is to add one or more pseudo-attributes to the incoming request packet and then refer to it (them) in your processing. You can either use an AddToRequest , or you can use a hook. There is an example PreClientHook in the file goodies/hooks.txt that does