@Override
    public MultifactorAuthenticationProviderBypassEvaluator filterMultifactorAuthenticationProviderBypassEvaluatorsBy(final String providerId) {
        val chain = new DefaultChainingMultifactorAuthenticationBypassProvider(applicationContext);
        multifactorAuthenticationProviderBypassEvaluators
            .stream()
            .filter(bp -> bp.belongsToMultifactorAuthenticationProvider(providerId).isPresent())
            .forEach(chain::addMultifactorAuthenticationProviderBypassEvaluator);

        if (chain.isEmpty()) {
            return new NeverAllowMultifactorAuthenticationProviderBypassEvaluator(applicationContext);
        }
        return chain;
    }
Add bypass provider.

@param bypass - the bypass provider
core/cas-server-core-authentication-mfa-api/src/main/java/org/apereo/cas/authentication/bypass/DefaultChainingMultifactorAuthenticationBypassProvider.java