Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.login.token.directory.contrib--directories

This contribution is part of XML component org.nuxeo.ecm.login.token.directory.contrib inside nuxeo-platform-login-token-7.10-HF07.jar /OSGI-INF/token-authentication-directory-contrib.xml

Extension point

Extension point directories of component SQLDirectoryFactory.

Contributed items

  • <directory name="authTokens">
          <dataSource>java:/nxsqldirectory</dataSource>
          <schema>authtoken</schema>
          <table>auth_tokens</table>
          <idField>token</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
          <!-- Set cache to 5 minutes -->
          <cacheTimeout>300</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
        </directory>

XML source

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

    <directory name="authTokens">
      <dataSource>java:/nxsqldirectory</dataSource>
      <schema>authtoken</schema>
      <table>auth_tokens</table>
      <idField>token</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
      <!-- Set cache to 5 minutes -->
      <cacheTimeout>300</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
    </directory>

  </extension>