Platform Explorer / CMF 1.8

Contribution com.nuxeo.case-management.default.users.config--directories

This contribution is part of XML component com.nuxeo.case-management.default.users.config inside nuxeo-runtime-5.4.2-HF05.jar

Extension Point

Extension point directories of component SQLDirectoryFactory.

Contributed Items

  • <directory name="userDirectory">
    
          <schema>user</schema>
    
          <dataSource>java:/nxsqldirectory</dataSource>
    
          <table>users</table>
          <idField>username</idField>
          <passwordField>password</passwordField>
          <autoincrementIdField>false</autoincrementIdField>
          <dataFile>config/cm_default_users.csv</dataFile>
          <createTablePolicy>on_missing_columns</createTablePolicy>
          <querySizeLimit>0</querySizeLimit>
    
          <references>
            <inverseReference directory="groupDirectory" dualReferenceField="members" field="groups"/>
          </references>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory">

    <directory name="userDirectory">

      <schema>user</schema>

      <dataSource>java:/nxsqldirectory</dataSource>

      <table>users</table>
      <idField>username</idField>
      <passwordField>password</passwordField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>config/cm_default_users.csv</dataFile>
      <createTablePolicy>on_missing_columns</createTablePolicy>
      <querySizeLimit>0</querySizeLimit>

      <references>
        <inverseReference directory="groupDirectory" dualReferenceField="members" field="groups"/>
      </references>
    </directory>

  </extension>