Fix OPENDJ-1249: ConnectionFactory timeout setting is applied for Active Directory persistent search requests
* don't enforce timeouts for searches that contain the control 1.2.840.113556.1.4.528
| | |
| | | public static final String OID = "2.16.840.1.113730.3.4.3"; |
| | | |
| | | /** |
| | | * The OID for the Microsoft Active Directory persistent search request |
| | | * control. The control itself is empty and the changes are returned in the |
| | | * following attributes "isDeleted", "whenChanged", "whenCreated". |
| | | */ |
| | | public static final String ACTIVE_DIRECTORY_OID = "1.2.840.113556.1.4.528"; |
| | | |
| | | /** |
| | | * A decoder which can be used for decoding the persistent search request |
| | | * control. |
| | | */ |
| | |
| | | super(requestID, resultHandler, intermediateResponseHandler, connection); |
| | | this.request = request; |
| | | this.searchResultHandler = resultHandler; |
| | | this.isPersistentSearch = request.containsControl(PersistentSearchRequestControl.OID); |
| | | this.isPersistentSearch = request.containsControl(PersistentSearchRequestControl.OID) |
| | | || request.containsControl(PersistentSearchRequestControl.ACTIVE_DIRECTORY_OID); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |