| | |
| | | public class InternalClientConnection |
| | | extends ClientConnection |
| | | { |
| | | |
| | | |
| | | // The message ID counter to use for internal connections. |
| | | private static AtomicInteger nextMessageID; |
| | | |
| | |
| | | this.authenticationInfo = |
| | | new AuthenticationInfo(internalUserEntry, true); |
| | | super.setAuthenticationInfo(authenticationInfo); |
| | | setSizeLimit(0); |
| | | setTimeLimit(0); |
| | | setLookthroughLimit(0); |
| | | super.setSizeLimit(0); |
| | | super.setTimeLimit(0); |
| | | super.setLookthroughLimit(0); |
| | | } |
| | | catch (DirectoryException de) |
| | | { |
| | |
| | | |
| | | this.authenticationInfo = authInfo; |
| | | super.setAuthenticationInfo(authInfo); |
| | | setSizeLimit(0); |
| | | setTimeLimit(0); |
| | | setLookthroughLimit(0); |
| | | super.setSizeLimit(0); |
| | | super.setTimeLimit(0); |
| | | super.setLookthroughLimit(0); |
| | | |
| | | connectionID = nextConnectionID.getAndDecrement(); |
| | | operationList = new LinkedList<Operation>(); |
| | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public void setSizeLimit(int sizeLimit) |
| | | { |
| | | // No implementation required. We never want to set a nonzero |
| | | // size limit for internal client connections. |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public void setLookthroughLimit(int lookthroughLimit) |
| | | { |
| | | // No implementation required. We never want to set a nonzero |
| | | // lookthrough limit for internal client connections. |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public void setTimeLimit(int timeLimit) |
| | | { |
| | | // No implementation required. We never want to set a nonzero |
| | | // time limit for internal client connections. |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Indicates whether this client connection is currently using a |
| | | * secure mechanism to communicate with the server. Note that this |
| | | * may change over time based on operations performed by the client |