Hi,

On 27 February 2015 at 07:05, Bertrand Delacretaz <[email protected]>
wrote:

> Hi,
>
> On Thu, Feb 26, 2015 at 2:56 AM, Ian Boston <[email protected]> wrote:
> > ...Tenant tenant = resource.adaptTo(Tenant.class) ...
>
> FWIW this is how I'm doing it in my SLING-4386 prototype, but in that
> case the resource is mapped to a tenant based on a property found in
> the tenant's content subtree, instead of users.
>

Thats a much better way of doing it.
Will the capability be added to the existing AdapterFactory ?

Best Regards
Ian


>
> -Bertrand
>

Reply via email to