| | |
| | | // The time limit for use with this client connection. |
| | | private int timeLimit; |
| | | |
| | | // The lookthrough limit for use with this client connection. |
| | | private int lookthroughLimit; |
| | | |
| | | // The opaque information used for storing intermediate state |
| | | // information needed across multi-stage SASL binds. |
| | | private Object saslAuthState; |
| | |
| | | persistentSearches = new CopyOnWriteArrayList<PersistentSearch>(); |
| | | sizeLimit = DirectoryServer.getSizeLimit(); |
| | | timeLimit = DirectoryServer.getTimeLimit(); |
| | | lookthroughLimit = DirectoryServer.getLookthroughLimit(); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the default maximum number of entries that should |
| | | * checked for matches during a search. |
| | | * |
| | | * @return The default maximum number of entries that should |
| | | * checked for matches during a search. |
| | | */ |
| | | public final int getLookthroughLimit() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getLookthroughLimit"); |
| | | |
| | | return lookthroughLimit; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Specifies the default maximum number of entries that should |
| | | * be checked for matches during a search. |
| | | * |
| | | * @param lookthroughLimit The default maximum number of |
| | | * entries that should be check for |
| | | * matches during a search. |
| | | */ |
| | | public final void setLookthroughLimit(int lookthroughLimit) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "setLookthroughLimit", |
| | | String.valueOf(lookthroughLimit)); |
| | | |
| | | this.lookthroughLimit = lookthroughLimit; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the time limit that will be enforced for searches |
| | | * performed using this client connection. |
| | | * |