| | |
| | | this.nextMessageID = nextMessageID; |
| | | this.out = out; |
| | | this.err = err; |
| | | responseControls = new ArrayList<Control>(); |
| | | responseControls = new ArrayList<>(); |
| | | } |
| | | |
| | | |
| | |
| | | LDAPConnectionOptions connectionOptions = new LDAPConnectionOptions(); |
| | | LDAPSearchOptions searchOptions = new LDAPSearchOptions(); |
| | | LDAPConnection connection = null; |
| | | ArrayList<LDAPFilter> filters = new ArrayList<LDAPFilter>(); |
| | | LinkedHashSet<String> attributes = new LinkedHashSet<String>(); |
| | | ArrayList<LDAPFilter> filters = new ArrayList<>(); |
| | | LinkedHashSet<String> attributes = new LinkedHashSet<>(); |
| | | |
| | | BooleanArgument continueOnError = null; |
| | | BooleanArgument countEntries = null; |
| | |
| | | baseDN.setPropertyName(OPTION_LONG_BASEDN); |
| | | argParser.addArgument(baseDN); |
| | | |
| | | HashSet<String> allowedScopes = new HashSet<String>(); |
| | | HashSet<String> allowedScopes = new HashSet<>(); |
| | | allowedScopes.add("base"); |
| | | allowedScopes.add("one"); |
| | | allowedScopes.add("sub"); |
| | |
| | | if (pSearchInfo.isPresent()) |
| | | { |
| | | String infoString = toLowerCase(pSearchInfo.getValue().trim()); |
| | | HashSet<PersistentSearchChangeType> changeTypes = |
| | | new HashSet<PersistentSearchChangeType>(); |
| | | HashSet<PersistentSearchChangeType> changeTypes = new HashSet<>(); |
| | | boolean changesOnly = true; |
| | | boolean returnECs = true; |
| | | |
| | |
| | | if (matchedValuesFilter.isPresent()) |
| | | { |
| | | LinkedList<String> mvFilterStrings = matchedValuesFilter.getValues(); |
| | | ArrayList<MatchedValuesFilter> mvFilters = |
| | | new ArrayList<MatchedValuesFilter>(); |
| | | ArrayList<MatchedValuesFilter> mvFilters = new ArrayList<>(); |
| | | for (String s : mvFilterStrings) |
| | | { |
| | | try |
| | |
| | | |
| | | while (true) |
| | | { |
| | | ArrayList<Control> newControls = |
| | | new ArrayList<Control>(origControls.size()+1); |
| | | ArrayList<Control> newControls = new ArrayList<>(origControls.size() + 1); |
| | | newControls.addAll(origControls); |
| | | newControls.add(new PagedResultsControl(true, pageSize, cookieValue)); |
| | | searchOptions.setControls(newControls); |