@ConditionalOnMissingBean(name = "casTwilioMultifactorPrincipalFactory")
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public PrincipalFactory casTwilioMultifactorPrincipalFactory() {
        return PrincipalFactoryUtils.newPrincipalFactory();
    }
This is {@link CasTwilioMultifactorAuthenticationEventExecutionPlanConfiguration}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-twilio-mfa/src/main/java/org/apereo/cas/config/CasTwilioMultifactorAuthenticationEventExecutionPlanConfiguration.java