Hi,

To avoid having a context document for login, you should use a
MultiDirectory that wraps all the user directories, and do the
authentication against it.
Be aware that  a user id should be unique across the different user directories.

--
Thomas



On 11 August 2011 09:18, Sean Radford <[email protected]> wrote:
> Hi,
>
> Been reading about the Local Configuration Directory Service
> (http://blogs.nuxeo.com/dev/2011/06/new-local-configuration-directory-service-first-step.html)
> and looking at the 5.4.3-SNAPSHOT source (in particular the UserManagerImpl
> that is the start of the multi tenant functionality).
>
> From my understanding, when a directory is opened, the actual underlying
> table that is used depends on the DirectoryLocalConfiguration of the
> Document in context. I can see how this works for vocabularies, but for
> users is there not an issue at login as there is never any Document in
> context and so you always query the same table for your user.
>
> Or am I missing something?
>
> Would it not be better to have an additional column in each directory table
> denoting the DirectoryLocalConfiguration value with all queries having the
> relevant value appended as an additional WHERE clause? You could then have a
> 'special case' context document to denote querying across all
> DirectoryLocalConfigurations for the login situation.
>
> Regards,
>
> Sean
>
> --
> Dr. Sean Radford, MBBS, MSc
> http://www.tacola.com/
> http://www.tacolaecm.com/
> t: +44 (0)845 KEY HELP
> t: +44 (0)845 539 4357
> m: +44 (0)7802 24 24 86
>
> ---
> Mailing list: [email protected]
> Forum: http://forum.nuxeo.org/f/1/
>
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to