mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
26.49.2015 f0b6206ddeacaa986a0bc24e8b972eb1eaffad12
OPENDJ-1908: Apply best practices and optimize search filters.
2 files modified
4 ■■■■ changed files
opendj-rest2ldap-servlet/src/main/webapp/WEB-INF/classes/opendj-rest2ldap-config.json 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/resource/config/http-config.json 2 ●●● patch | view | raw | blame | history
opendj-rest2ldap-servlet/src/main/webapp/WEB-INF/classes/opendj-rest2ldap-config.json
@@ -128,7 +128,7 @@
        // client-provided username, using LDAP filter string character escaping.
        "searchBaseDN"         : "ou=people,dc=example,dc=com",
        "searchScope"          : "sub", // Or "one".
        "searchFilterTemplate" : "(&(objectClass=inetOrgPerson)(uid=%s))"
        "searchFilterTemplate" : "(&(uid=%s)(objectClass=inetOrgPerson))"
        // TODO: support for HTTP sessions?
    },
opendj-server-legacy/resource/config/http-config.json
@@ -22,7 +22,7 @@
        // client-provided username, using LDAP filter string character escaping.
        "searchBaseDN"         : "ou=people,dc=example,dc=com",
        "searchScope"          : "sub", // Or "one".
        "searchFilterTemplate" : "(&(objectClass=inetOrgPerson)(uid=%s))"
        "searchFilterTemplate" : "(&(uid=%s)(objectClass=inetOrgPerson))"
        
        // TODO: support for HTTP sessions?
    },