@Bean
    @ConditionalOnMissingBean(name = "grouperFacade")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public GrouperFacade grouperFacade(final ConfigurableApplicationContext applicationContext) {
        return BeanSupplier.of(GrouperFacade.class)
            .when(CONDITION.given(applicationContext.getEnvironment()))
            .supply(DefaultGrouperFacade::new)
            .otherwiseProxy()
            .get();
    }
This is {@link GrouperMultifactorAuthenticationConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-grouper/src/main/java/org/apereo/cas/config/GrouperMultifactorAuthenticationConfiguration.java