Deployment Guide

524 | Reference Dell Networking W-ClearPass Guest 6.3 | User Guide
n The keys whitelist’ and ‘blacklist’ may also be used for ‘allow and ‘deny’, respectively.
n An allow or deny’ value that is a string is converted to a single element array.
n Wildcard matching may be used on domain names: the prefix ‘*.’ means match any domain that ends with the
given suffix. A ‘*’ component can also be used inside the hostname, and will match zero or more domain name
components.
n If the ‘allow list is empty or unset, the default behavior is to accept ALL domains other than those listed in the
deny’ list.
n If the ‘deny’ list is empty or unset, the default behavior is to deny ALL domains other than those listed in the
allow list.
n If both ‘allow and ‘deny’ lists are provided, the default behavior is to accept a domain name that does not
match any of the patterns provided. The allow list is checked first, followed by ‘deny’. To obtain the opposite
behavior, specify the wildcard * as the last entry in the ‘deny’ list.
l IsValidFileUpload Checks that the value is a file upload.
l IsValidFutureDateTime Checks that the value is a valid time specification string according to the rules of the
PHP function strtotime(), and that the time specification refers to a point in the future. The $value is expected to
be an integer specifying a UNIX time value (seconds since 1970-01-01 00:00:00 UTC).
$arg may be:
n null, to not perform any min/max check
n a scalar value, to use as the maximum allowable value
n an array containing "min" or "max" entries
Use the syntax:
array(
'min' => '1 day',
'max' => '90 days',
)
l IsValidFutureTimestamp Checks that the value is a valid UNIX time referring to a point in the future. The
$value is expected to be an integer specifying a UNIX time value (seconds since 1970-01-01 00:00:00 UTC).
$arg may be:
n null, to not perform any min/max check
n a scalar value, to use as the maximum allowable value
n an array containing "min" or "max" entries
Use the syntax:
array(
'min' => '1 day',
'max' => '90 days',
)
l IsValidHostname Checks that the value is a valid IP address or a hostname that resolves to an IP address.
l IsValidHostnameCidr Checks that the value is a valid IP address or hostname, which may also have an optional
/N suffix indicating the network prefix length in bits (CIDR notation).
l IsValidHostnamePort Checks that the value is a valid IP address or hostname, which may optionally include a
port number specified with the syntax hostname:port.
l IsValidIpAddr Checks that the value is a valid IP address.