ConnectionValidationPolicy.xml
This file specifies the schema for the connection validation policy.
connection-validation-policies
Connection validation policies
The following table lists the elements that an element of type connection-validation-policies can contain:
Name | Type | Description | Min occurs | Max occurs |
---|---|---|---|---|
policy | policy | A connection validation policy. | 0 | unbounded |
policy
A connection validation policy.
The following table lists the attributes that an element of type policy can have:
Name | Type | Description | Required |
---|---|---|---|
name | push:string | Each policy must be supplied with a unique name for easy reference. | true |
type | push:string | The policy type should be either "blacklist" or "whitelist". A blacklist indicates that if any of the policy rules in this policy match the incoming connection, that connection is to be rejected. A whitelist requires that at least one policy rule matches for the connection to be accepted. | true |
automatic | push:boolean | Policies which are set to automatic are applied by Diffusion and the publishers do not need to perform any checks themselves. If this attribute is set to false, the policy is not applied unless it is done so by the publisher. If a value is not specified, a default of true is used. DEPRECATED: Since 6.2 Only automatic connection validation policies are used. Setting this to false will simply disable the policy. This option will be removed in a future release. | false |
The following table lists the elements that an element of type policy can contain:
addresses
The following table lists the elements that an element of type addresses can contain:
Name | Type | Description | Min occurs | Max occurs |
---|---|---|---|---|
address | push:string | An IP address (or regular expression) of a connecting client. | 0 | unbounded |
hostname | push:string | The hostname (or regular expression) of a connecting client. | 0 | unbounded |
resolved-name | push:string | The resolved hostname (or regular expression) of a connecting client, as returned by the WhoIs service. | 0 | unbounded |
locale
The following table lists the elements that an element of type locale can contain:
Name | Type | Description | Min occurs | Max occurs |
---|---|---|---|---|
country | push:string | The ISO country code of the connecting client, as returned by the WhoIs service. | 0 | 1 |
language | push:string | The ISO language code of the connecting client, as returned by the WhoIs service. | 0 | 1 |