<atlassian-user>
    <repositories>

        <!-- Default confluence user repository -->
        <hibernate key="hibernateRepository" name="Hibernate Repository" cache="true" />
        <osuser key="osuserRepository" name="OSUser Repository"/>

        <!-- LDAP repository -->

        <!--
        You will need to uncomment the ldap and hibernate repositories below to enable LDAP
        user management. For more information, please see:

        http://confluence.atlassian.com/display/DOC/Customising+atlassian-user.xml
        -->
        <!--
        <ldap key="ldapRepository" name="LDAP Repository@hecate.atlassian.com" cache="true">
            <host>ldap.example.com</host>
            <port>389</port>
            <securityPrincipal>cn=admin,dc=atlassian,dc=private</securityPrincipal>
            <securityCredential>secret</securityCredential>
            <securityProtocol>plain</securityProtocol>
            <securityAuthentication>simple</securityAuthentication>
            <baseContext>dc=atlassian,dc=private</baseContext>

            <baseUserNamespace>dc=staff,dc=perftest,dc=atlassian,dc=private</baseUserNamespace>
            <baseGroupNamespace>dc=groups,dc=perftest,dc=atlassian,dc=private</baseGroupNamespace>
            <usernameAttribute>cn</usernameAttribute>
            <userSearchFilter>(objectClass=inetorgperson)</userSearchFilter>
            <firstnameAttribute>givenname</firstnameAttribute>
            <surnameAttribute>sn</surnameAttribute>
            <emailAttribute>mail</emailAttribute>
            <groupnameAttribute>cn</groupnameAttribute>
            <groupSearchFilter>(objectClass=groupOfNames)</groupSearchFilter>
            <membershipAttribute>member</membershipAttribute>
            <userSearchAllDepths>false</userSearchAllDepths>
            <groupSearchAllDepths>false</groupSearchAllDepths>
        </ldap>

        <hibernate name="Hibernate Repository" key="hibernateRepository"  description="Hibernate Repository" />
        -->

        <!-- END of LDAP Repository -->


        <!-- CROWD respository -->

        <!--
        You will need to uncomment the repository below to enable Crowd integration. For more information,
        please see:

        You must also uncomment the osuser repository above.

        http://confluence.atlassian.com/display/CROWD/3.2.3+Integrating+Crowd+with+Atlassian+Confluence
        -->
        <!--
        <repository key="crowd" class="com.atlassian.crowd.integration.atlassianuser.CrowdRepository">
            <classes>
                <processor>com.atlassian.crowd.integration.atlassianuser.CrowdRepositoryProcessor</processor>
                <userManager>com.atlassian.crowd.integration.atlassianuser.CrowdUserManager</userManager>
                <groupManager>com.atlassian.crowd.integration.atlassianuser.CrowdGroupManager</groupManager>
                <authenticator>com.atlassian.crowd.integration.atlassianuser.CrowdAuthenticator</authenticator>
                <propertySetFactory>com.atlassian.crowd.integration.atlassianuser.CrowdPropertySetFactory</propertySetFactory>
                <entityQueryParser>com.atlassian.crowd.integration.atlassianuser.CrowdEntityQueryParser</entityQueryParser>
            </classes>
        </repository>
        -->

        <!-- END of CROWD repository -->

    </repositories>
</atlassian-user>
