@Override
    public List<? extends PersonAttributeDao> buildInternal(final TenantDefinition tenantDefinition,
                                                            final ConfigurationPropertiesBindingContext<CasConfigurationProperties> bindingContext) {
        if (bindingContext.containsBindingFor(JdbcPrincipalAttributesProperties.class)) {
            val casProperties = bindingContext.value();
            val jdbc = casProperties.getAuthn().getAttributeRepository().getJdbc();
            return JdbcPersonAttributeUtils.newJdbcAttributeRepositoryDao(jdbc);
        }
        return List.of();
    }
This is {@link TenantJdbcPersonAttributeDaoBuilder}.

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