Are you attempting to authenticate a user against two directories? The example seems to be doing so.
If you would like to failover per say (AD then User database). See the below screenshot:
This will check AD first, then check the User Database if the user has not properly authenticated with the first directory.
I should have cleaned up the names in the screenshot but you get the idea.