Expand my Community achievements bar.

SOLVED

AEM Tenants

Avatar

Level 3

Hi Community

DamUtil.getTenantAssetsRoot implementation has adaptation of resource resolver to a Tenant class:

Tenant tenant = (Tenant)resolver.adaptTo(Tenant.class);

and tenant object for my requests is always null.

I also noticed that the repository has a node '/etc/tenants'. I believe it has nothing to do with context-aware configs.

Could you share any docs regarding the functionality?

Thank you

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

This function has nothing to do with the tenant concept which is providing/using /etc/tenants. There is no real "tenant" concept in AEM :-(

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

This function has nothing to do with the tenant concept which is providing/using /etc/tenants. There is no real "tenant" concept in AEM :-(