Package com.google.gerrit.server.auth.ldap.Helper

Examples of com.google.gerrit.server.auth.ldap.Helper.LdapSchema


    try {
      DirContext ctx = helper.open();
      try {
        // Do exact lookups until there are at least 3 characters.
        name = Rdn.escapeValue(name) + ((name.length() >= 3) ? "*" : "");
        LdapSchema schema = helper.getSchema(ctx);
        ParameterizedString filter = ParameterizedString.asis(
            schema.groupPattern.replace(GROUPNAME, name).toString());
        Set<String> returnAttrs = Collections.<String>emptySet();
        Map<String, String> params = Collections.emptyMap();
        for (String groupBase : schema.groupBases) {
View Full Code Here

TOP

Related Classes of com.google.gerrit.server.auth.ldap.Helper.LdapSchema

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.