User's Manual

518 | Reference Dell Networking W-ClearPass Guest 6.4 | User Guide
n syntax_only: Default true. If false, requires that the values provided correspond to those from the
AirGroup controller configuration.
n protocol_version: Default 2. If 1, changes the default validation properties (see below).
n max_roles: Maximum number of roles to allow, default 100.
n max_role_length: Maximum length in characters of any single role name, default 64.
n max_role_list_length: Maximum total length of the role list, including comma separator characters,
default 1000.
For the same validation as performed in AirGroup protocol version 1, set $arg to array('protocol_
version' => 1).
Setting a max_* parameter to 0 disables validation of that property.
l IsValidAirGroupSharedUser – Checks that the value is a comma-separated user list, where user names
should not contain "," or space.
If $arg is an array it may specify the following options:
n protocol_version: Default 2. If 1, changes the default validation properties (see below).
n max_users: Maximum number of usernames to allow, default 100.
n max_user_length: Maximum length in characters of any single username, default 64.
n max_user_list_length: Maximum total length of the username list, including comma separator
characters, default 1000.
For the same validation as performed in AirGroup protocol version 1, set $arg to array('protocol_
version' => 1).
Setting a max_* parameter to 0 disables validation of that property.
l IsValidBool – Checks that the value is a standard Boolean truth value. Valid Boolean values are the integers
0 and 1 and the PHP values false and true.
l IsValidDateTime Checks that the value appears to be a valid time specification string according to the
rules of the PHP function strtotime(). Valid date/time syntax includes ISO 8601 standard times (YYYY-MM-
DD hh:mm:ss) with and without time zone specifications, as well as many other formats. 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 IsValidEmail – Checks that the value appears to be a valid RFC 822-compliant email address. When using
the IsValidEmail validator, the validator argument may be specified with a whitelist/blacklist of domain
names. Use the syntax:
array(
'allow' => array(
'corp-domain.com',
'other-domain.com',
),