We need to write a small ARRAY statement to deny and allow. Example below:
array ( 'deny' => array ( 0 => 'gmail.com', 1 => 'YAHOO.com', 2 => 'hotmail.com', ), 'allow' => array ( ), )
Where to pass this argument to a validator in ClearPass guest ?
Look below
1. Navigation : Clearpass guest – -> Configuration – – > Pages – – > Guest self registration – ->edit
<Screenshot Missing>
2. – ->edit – – > form – ->email – ->edit – ->Put this code @ Validator Argument
<Screenshot Missing>
3. Enter appropriate validation error.
Testing: Output
<Screensot Missing>
Hope you find this useful !
Author :
Prashant Harnal
Lead Aruba Consultant – Airowire Networks