How are realms handled by the server?
There are two ways realms are handled. Normally the server will handle realms without any programming intervention. The ProxyTarget class is used to configure the next RADIUS server where the packet will be forwarded. Synonyms may also be defined for each ProxyTarget such that all realms that match the synonyms will also be forwarded to that RADIUS server. A special ’empty’ synonym can designate that User-Names without realms may be sent to that ProxyTarget. If this ’empty’ realm is not defined in a ProxyTarget it will be handled locally. Much of the configuration of the local server is also defined by a ProxyTarget so the local server may handle a number of realms. By default if no other ProxyTarget’s have the ’empty’ realm defined the local server handles all packets without realm information. The second way to handle the routing of realms is to use the ProxyImpl class to define rules for handle forwarding based on realms or other attributes.