@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "casSimpleMultifactorRestHttpRequestCredentialFactoryConfigurer")
    public RestHttpRequestCredentialFactoryConfigurer casSimpleMultifactorRestHttpRequestCredentialFactoryConfigurer(
        @Qualifier("casSimpleMultifactorRestHttpRequestCredentialFactory")
        final RestHttpRequestCredentialFactory casSimpleMultifactorRestHttpRequestCredentialFactory) {
        return factory -> factory.registerCredentialFactory(casSimpleMultifactorRestHttpRequestCredentialFactory);
    }
This is {@link CasSimpleMultifactorAuthenticationRestConfiguration}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-simple-mfa/src/main/java/org/apereo/cas/config/CasSimpleMultifactorAuthenticationRestConfiguration.java