Configuring an access policy to secure an application
This section describes the workflow for configuring a policy.
To configure a policy.
- 
Configure the settings.  
- 
Configure the resource.  
- 
Configure the regex policy. In this example, the policy ensures that only users with an email ID of gmail are allowed to access Salesforce.  
- 
Configure the permission with policy and resource.  
- 
Try to login to Salesforce, which is configured as a client in SafeNet Access Exchange with a callback URL. You will be redirected to SafeNet Access Exchange (IDP) to login.  
- 
Enter your username.  
- 
Enter your passcode (password, GrIDSure, or any SAS token).  
- 
In this first example, the email ID is yahoo. Therefore, the access request is denied by the policy.  
- 
In this second example, the email ID is gmail. Therefore, access is granted by the policy.  
- 
The Salesforce resource opens. 