LDAPReplicationDomain.java:
Fixed a small bug that I introduced in the previous commit by removing ENTRYUUID from the Set of attributes. Also, apparently "*" encodes for user attributes (and not operational).
ExternalChangeLogTest.java:
In ALL_ATTRIBUTES, changed the order of the attributes to match the order mentioned in the javadoc.
| | |
| | | AlertGenerator |
| | | { |
| | | |
| | | private static final Set<String> ALL_OPERATIONAL_ATTRS = new HashSet<String>( |
| | | Arrays.asList(HISTORICAL_ATTRIBUTE_NAME, "*")); |
| | | /** |
| | | * Set of attributes that will return all the user attributes and the |
| | | * replication related operational attributes when used in a search operation. |
| | | */ |
| | | private static final Set<String> USER_AND_REPL_OPERATIONAL_ATTRS = |
| | | new HashSet<String>(Arrays.asList( |
| | | HISTORICAL_ATTRIBUTE_NAME, ENTRYUUID_ATTRIBUTE_NAME, "*")); |
| | | |
| | | /** |
| | | * This class is used in the session establishment phase |
| | |
| | | SearchScope.WHOLE_SUBTREE, |
| | | DereferencePolicy.NEVER_DEREF_ALIASES, |
| | | 0, 0, false, filter, |
| | | ALL_OPERATIONAL_ATTRS, null); |
| | | USER_AND_REPL_OPERATIONAL_ATTRS, null); |
| | | |
| | | Entry entryToRename = null; |
| | | CSN entryToRenameCSN = null; |
| | |
| | | SearchScope.WHOLE_SUBTREE, |
| | | DereferencePolicy.NEVER_DEREF_ALIASES, |
| | | 0, 0, false, filter, |
| | | ALL_OPERATIONAL_ATTRS, |
| | | USER_AND_REPL_OPERATIONAL_ATTRS, |
| | | resultListener); |
| | | } |
| | | |
| | |
| | | SearchScope.WHOLE_SUBTREE, |
| | | DereferencePolicy.NEVER_DEREF_ALIASES, |
| | | 0, 0, false, filter, |
| | | ALL_OPERATIONAL_ATTRS, null); |
| | | USER_AND_REPL_OPERATIONAL_ATTRS, null); |
| | | |
| | | int count = 0; |
| | | |
| | |
| | | * When used in a search operation, it includes all attributes (user and |
| | | * operational) |
| | | */ |
| | | private static final Set<String> ALL_ATTRIBUTES = newSet("+", "*"); |
| | | private static final Set<String> ALL_ATTRIBUTES = newSet("*", "+"); |
| | | private static final List<Control> NO_CONTROL = null; |
| | | |
| | | /** |
| | |
| | | evaluateSearchParameters(baseDN, 2, -1, "(changenumber>=2)"); |
| | | evaluateSearchParameters(baseDN, 2, 5, "(&(changenumber>=2)(changenumber<=5))"); |
| | | |
| | | // |
| | | try |
| | | { |
| | | final StartECLSessionMsg startCLmsg = new StartECLSessionMsg(); |