Some NetScaler resources can be bound globally to affect the whole system. For example, a compression policy can be bound to an load balancing virtual server, in which case the policy affects only the traffic on that load balancing virtual server. However, if bound globally, it can affect any traffic on the appliance, regardless of which virtual servers handle the traffic.
Some NITRO classes can be used to bind resources globally. These classes have names that follow the following pattern: <featurename>global_<resourcetype>_binding.
For example, the class aaaglobal_preauthenticationpolicy_binding is used to bind preauthentication policies globally.
The following sample code creates a preauthentication action and a preauthentication policy that uses that action, and then binds the policy globally at priority 200.