| | |
| | | desc.serverProperties.put(ServerProperty.IS_REPLICATION_ENABLED, |
| | | replicationEnabled ? Boolean.TRUE : Boolean.FALSE); |
| | | |
| | | Set<String> allReplicationServers = new LinkedHashSet<String>(); |
| | | |
| | | if (cacheFilter.searchBaseDNInformation()) |
| | | { |
| | | ctls = new SearchControls(); |
| | |
| | | repServers.add(s.toLowerCase()); |
| | | } |
| | | replica.setReplicationServers(repServers); |
| | | allReplicationServers.addAll(repServers); |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | repServers.add(s.toLowerCase()); |
| | | } |
| | | allReplicationServers.addAll(repServers); |
| | | desc.serverProperties.put(ServerProperty.EXTERNAL_REPLICATION_SERVERS, |
| | | repServers); |
| | | allReplicationServers); |
| | | } |
| | | } |
| | | catch (NameNotFoundException nse) |