| | |
| | | && !this.currentConfig.isAuthenticationRequired(); |
| | | } |
| | | |
| | | /** |
| | | * Registers a client connection to track it. |
| | | * |
| | | * @param clientConnection |
| | | * the client connection to register |
| | | */ |
| | | void addClientConnection(ClientConnection clientConnection) |
| | | { |
| | | clientConnections.put(clientConnection, clientConnection); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public ConfigChangeResult applyConfigurationChange( |
| | |
| | | return clientConnections.keySet(); |
| | | } |
| | | |
| | | /** |
| | | * Gives access to the clientConnections to classes in this package. |
| | | * |
| | | * @return the Map containing the current client connections |
| | | */ |
| | | Map<ClientConnection, ClientConnection> getClientConnectionsMap() |
| | | { |
| | | return clientConnections; |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public DN getComponentEntryDN() |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * Unregisters a client connection to stop tracking it. |
| | | * |
| | | * @param clientConnection |
| | | * the client connection to unregister |
| | | */ |
| | | void removeClientConnection(ClientConnection clientConnection) |
| | | { |
| | | clientConnections.remove(clientConnection); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void run() |