When a user matches more than one authentication policy, RapidIdentity automatically applies the strongest, most restrictive one. To route a subset of users to a different authentication method, you must explicitly exclude them from the stronger policy using an LDAP filter so that each user matches only one policy.
Requirements
- Permission to create groups and to create and edit authentication policies in RapidIdentity
- A list of the users who need the alternate authentication method
- The current LDAP filter from your general policy copied to a safe location
- A test account to validate the change before deployment
- In the module selector, choose .
- Click Add Group.
- In the Name field, enter a name for the group.
- In the Owner field, enter a group owner.
- Click Save.
- Add the users who need the alternate authentication method as members of the group.
Use the Static tab to add or exclude group members directly, or use the Dynamic tab to locate and populate members from a database.
- Click the General tab, and then copy the Group ID.
Save the Group ID so that you can apply the LDAP filter to exempt the group from the authentication policy.
- In the module selector, click .
- Click Add Policy.
- In the Authentication Methods tab, click Add Policy, and then select the SMS checkbox.
- In the Criteria tab, use the switch to apply the policy to a group of users, and then select in the Access Control menu.
- In the Included Groups menu, select the group that you created.
- Finish configuring the policy. For more information, see Creating a Unified Authentication Policy.
- Exclude the group from the more restrictive policy by adding an exclusion clause to the LDAP filter:
- Navigate to , and then open the more restrictive policy.
- Click the Criteria tab.
- In the LDAP Filter field, update the filter with the exclusion clause below, replacing GroupID with the Group ID of the exempt group:
(&(existing-criteria)(!(memberOf=idautoID=GroupID,ou=Groups,dc=meta)))
For example, if your existing filter is (|(employeeType=staff)(employeeType=sponsored)), the updated filter looks like this example:
(&(|(employeeType=staff)(employeeType=sponsored))(!(memberOf=idautoID=GroupID,ou=Groups,dc=meta)))
The leading & requires both conditions to be true. The user must match your existing criteria and must not be a member of the excluded group. The ! operator means "not a member of."
- Click Save.
- Validate the configuration using an account from inside the excluded group and an account from outside the excluded group.
If the configuration is successful, the account within the excluded group will receive a prompt to authenticate with the method in the less restrictive policy, and the account outside of the excluded group will authenticate using the method in the more restrictive policy. No user will match both policies.
Users in the group are now excluded from the general policy and routed to the less restrictive policy. The change takes effect at each user's next sign-in attempt.