Nuxeo 5

Nuxeo 5 Component
org.nuxeo.ecm.directory.multi.MultiDirectoryFactory

Individual Documentation Coverage

done proportion
50.0 %

Multi-directory implementation.


Author: missing

Version: missing

Location: nuxeo-services/nuxeo-platform-directory-multi/src/main/resources/OSGI-INF/multidirectory-service.xml

Require

Required by

Not required

Implementation


Extension Points:

directories


This extension point can be used to register new
multi-directories. The extension can contain any number of
directories declarations of the form:

        ...
        <directory name="userDirectory">
          <schema>user</schema>
          <idField>username</idField>
          <passwordField>password</passwordField>
          <querySizeLimit>1000</querySizeLimit>
          <source name="ldapusers">
            <subDirectory name="authinfo">
              <field for="email">mail</field>
            </subDirectory>
            <subDirectory name="userinfo">
              <field for="firstName">givenName</field>
              <field for="lastName">sn</field>
              <field for="company">o</field>
            </subDirectory>
          </source>
          <source creation="true" name="sqlusers">
            <subDirectory name="sqlUserDirectory" />
          </source>
        </directory>
        ...



Here is the description for each field:



  • schema - the name of the schema to be used for the directory
    entries.


  • idField - the id field designs the primary key in the table,
    used for retrieving entries by id.


  • querySizeLimit - the maximum number of results that the
    queries on this directory should return; if there are more
    results than this, an exception will be raised.


  • init-dependencies - a list of directories that should be
    initialized before this one


The references tag is used to define relations between
directories. (TODO: describe the references types.)


Is a contribution to:

Last generation: 18:21:25 CEST 11/07/2009