Broker 10.5 | webMethods Broker Documentation | webMethods Broker Administration Java API Programmer’s Guide | Managing Security Configurations | Territory Gateway Security Configurations | Setting Territory Security
 
Setting Territory Security
The BrokerAdminClient.setTerritoryGatewaySecurity method allows you to set the level of security and the type of authentication that is to be used in a territory gateway. Each of the two Brokers that make up the gateway must be properly configured for the new settings.
When using this method, you must provide the following parameters:
*The territory name.
*The type of authentication to be used, specified as one of the BrokerAdminClient.AUTH_TYPE_* values.
*For information on territory gateway security, see Administering webMethods Broker .
Important:
Use this method with care because changing the security setting might cause the gateway to become disconnected. For example, setting SSL authentication or encryption when the remote Broker is not configured for SSL will cause the gateway to become disconnected.