Platform Explorer / Nuxeo Platform LTS 2017 9.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-9.10.jar /OSGI-INF/token-authentication-directory-contrib.xml

Extension Point

Extension point directories of component GenericDirectory.

Contributed Items

  • <directory extends="template-directory" name="authTokens">
          <schema>authtoken</schema>
          <idField>token</idField>
          <table>auth_tokens</table>
          <types>
            <type>system</type>
          </types>
          <permissions>
            <permission name="Read">
              <group>__Nobody__</group>
            </permission>
          </permissions>
          <!-- Set cache to 5 minutes -->
          <cacheTimeout>300</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
        </directory>

XML Source

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

    <directory extends="template-directory" name="authTokens">
      <schema>authtoken</schema>
      <idField>token</idField>
      <table>auth_tokens</table>
      <types>
        <type>system</type>
      </types>
      <permissions>
        <permission name="Read">
          <group>__Nobody__</group>
        </permission>
      </permissions>
      <!-- Set cache to 5 minutes -->
      <cacheTimeout>300</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
    </directory>

  </extension>