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

Matthew Swift
25.37.2013 a33d5ddb992b89d4da8c5b68100c8a980770d7b7
Additional fix for OPENDJ-694: Implement HTTP BASIC authentication

* update sample JSON config to use search+simple
* add some additional documentation
1 files modified
10 ■■■■ changed files
opendj3/opendj-rest2ldap-servlet/src/main/webapp/opendj-rest2ldap-servlet.json 10 ●●●● patch | view | raw | blame | history
opendj3/opendj-rest2ldap-servlet/src/main/webapp/opendj-rest2ldap-servlet.json
@@ -73,14 +73,16 @@
        //                   LDAP search using a filter constructed by
        //                   substituting the username into the
        //                   "searchFilterTemplate" using %s substitution.
        "method" : "simple",
        "method" : "search-simple",
        
        // The connection factory which will be exclusively used for
        // authenticating users using LDAP bind operations.
        "bindLDAPConnectionFactory" : "default",
        
        // The SASL AuthzID template which will be used for "sasl-plain"
        // authentication.
        // authentication. The %s format parameters will be substituted with
        // the client-provided username, using DN character escaping for DN
        // AuthzIDs.
        "saslAuthzIdTemplate" : "dn:uid=%s,ou=people,dc=example,dc=com",
        
        // The connection factory which will be used for performing LDAP
@@ -88,7 +90,9 @@
        // enabled.
        "searchLDAPConnectionFactory" : "root",
        
        // The search parameters to use for "search-simple" authentication.
        // The search parameters to use for "search-simple" authentication. The
        // %s filter format parameters will be substituted with the
        // 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))"