[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Creating Realm Selection Scripts

This chapter describes developing realm selection scripts that execute built-in methods or more advanced script logic to authenticate requests. This chapter contains these topics:

Steel-Belted Radius Carrier executes built-in or scripted realm selection methods to determine the authentication realm for processing a request. For built-in methods, you specify the methods and their order of execution in the [Processing] section of the proxy.ini configuration file. You specify matching rules in the [Realms] and [Directed] sections. For more information about the proxy.ini configuration file, see the proxy.ini File section of Chapter 7, Realm Configuration Files in the Steel-Belted Radius Carrier 7.2 Reference Guide.

For scripted realm selection, use the script setting in proxy.ini to declare the name of a JavaScript initialization (.jsi) file. If the script setting appears anywhere in the [Processing] section, Steel-Belted Radius Carrier executes the realm selection script first, before trying any other built-in methods. If the script returns a valid realm name, Steel-Belted Radius Carrier sends the current request to that realm for processing. If the script returns the code SCRIPT_RET_SUCCESS instead of a realm name, Steel-Belted Radius Carrier invokes the remaining methods in the [Processing] section to try to determine the realm for the request.

You can also specify a realm selection script for the inner authentication setting of tunneled authentication methods using SBR Administrator.

Realm selection scripts are useful when your realm selection strategy is too complex to be implemented using basic matching rules. Realm selection scripts can perform any of these actions:


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]