Security

Reply
New Contributor

Clearpas Guest Sponsor Confirmation with list specific email address

I am using this syntax for spesific email address at sponsor_email for validation :

 

Validator : isValidEmail

Valid Param : none

Validator Argument :

array (
  'allow' =>
  array (
    0 => 'user1@domain.com',
    1 => 'user2@domain.com',

    2 => 'user3@domain.com',
  ),
  'deny' =>
  array (
  ),
)

 

The result is still failed , any suggestion ? please help

 

Thanks,

Jefri

 

 

Re: Clearpas Guest Sponsor Confirmation with list specific email address

What happens?

If all emails are still allowed you may need to add * to the deny section:

array (
'allow' =>
array (
0 => 'user1@domain.com',
1 => 'user2@domain.com',
2 => 'user3@domain.com',
),
'deny' =>
array (
0 => '*',
),
)

Cheers
James
----------------------------------------------------------------------
--------------------------@whereisjrw--------------------------
---------------------------------blog-------------------------------
ACCX #540 | ACMX #353 | ACDX #216 | AMFX #11
----------------------------------------------------------------------
----------------------------------------------------------------------

If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users via search.
Occasional Contributor II

Re: Clearpas Guest Sponsor Confirmation with list specific email address

Anyone tried that with success?

 

I did not have success with this. ClearPass returns that this is not a valid E-Mail...

 

It looks like it would search only behind the @?

Re: Clearpas Guest Sponsor Confirmation with list specific email address

In the Sponsor Email field, set the Validator to IsInOptionsList. Then above, in the Options text box, enter:

user1@domain.com

user2@domain.com

user3@domain.com

 

I've tested this and it allows user1, user2 and user3 with no error, however, it indicates error when trying user4. Allowed me to submit the request and sent me to receipt page awaiting sponsor confirmation.



Michael Haring
If my answer is helpful, a Kudos is always appreciated!
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: