| | |
| | | */ |
| | | public AuthenticatedUsers() |
| | | { |
| | | |
| | | userMap = new ConcurrentHashMap<DN,CopyOnWriteArraySet<ClientConnection>>(); |
| | | |
| | | DirectoryServer.registerChangeNotificationListener(this); |
| | |
| | | */ |
| | | public synchronized void put(DN userDN, ClientConnection clientConnection) |
| | | { |
| | | |
| | | CopyOnWriteArraySet<ClientConnection> connectionSet = userMap.get(userDN); |
| | | if (connectionSet == null) |
| | | { |
| | |
| | | */ |
| | | public synchronized void remove(DN userDN, ClientConnection clientConnection) |
| | | { |
| | | |
| | | CopyOnWriteArraySet<ClientConnection> connectionSet = userMap.get(userDN); |
| | | if (connectionSet != null) |
| | | { |