@Override
    public List<? extends PersonAttributeDao> buildInternal(
        final TenantDefinition tenantDefinition,
        final ConfigurationPropertiesBindingContext<CasConfigurationProperties> bindingContext) {
        if (bindingContext.containsBindingFor(LdapPrincipalAttributesProperties.class)) {
            val casProperties = bindingContext.value();
            val ldapProperties = casProperties.getAuthn().getAttributeRepository().getLdap();
            return LdapUtils.newPersonAttributeDaos(ldapProperties);
        }
        return List.of();
    }
This is {@link TenantLdapPersonAttributeDaoBuilder}.

@author Misagh Moayyed
@since 7.3.0
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/persondir/TenantLdapPersonAttributeDaoBuilder.java