@ConditionalOnMissingBean(name = "jdbcMultitenancyAuthenticationPlanConfigurer")
        @Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public AuthenticationEventExecutionPlanConfigurer jdbcMultitenancyAuthenticationPlanConfigurer(
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties,
            @Qualifier(ServicesManager.BEAN_NAME)
            final ServicesManager servicesManager) {
            return plan -> {
                if (casProperties.getMultitenancy().getCore().isEnabled()) {
                    val passwordPolicyConfiguration = new PasswordPolicyContext();
                    val principalFactory = PrincipalFactoryUtils.newPrincipalFactory();
                    val builder = new TenantJdbcAuthenticationHandlerBuilder(passwordPolicyConfiguration, principalFactory,
                        applicationContext, servicesManager);
                    plan.registerTenantAuthenticationHandlerBuilder(builder);
                }
            };
        }
This is {@link CasJdbcAuthenticationMultitenancyConfiguration}.

@author Misagh Moayyed
@since 7.3.0
support/cas-server-support-jdbc/src/main/java/org/apereo/cas/config/CasJdbcAuthenticationMultitenancyConfiguration.java