<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.digestauth.config">

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

    <directory name="digestauth" extends="template-directory">
      <schema>digestauth</schema>
      <idField>username</idField>
      <passwordField>password</passwordField>
      <types>
        <type>system</type>
      </types>
    </directory>
  </extension>

  <extension target="org.nuxeo.ecm.platform.usermanager.UserService" point="userManager">
    <userManager>
      <digestAuthDirectory>digestauth</digestAuthDirectory>
      <digestAuthRealm>NUXEO</digestAuthRealm>
      <userCacheName>default-cache</userCacheName>
    </userManager>
  </extension>

</component>
