mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
22.31.2009 53c232421f375fb7aec505cd3f152511aed47167
refs
author jvergara <jvergara@localhost>
Thursday, October 22, 2009 15:31 +0200
committer jvergara <jvergara@localhost>
Thursday, October 22, 2009 15:31 +0200
commit53c232421f375fb7aec505cd3f152511aed47167
tree 13880e3d1ffa4e0839d43df51c3bb003f204c94f tree | zip | gz
parent 5550dc5d6d7cb8229e66c488ba4c6c2c7c8a3762 view | diff
Control Panel fix for issue 4302 (Unexpected errors using single JNDI connection with SSL and multiple threads.)

This fix has two parts:

1. Modify the threading mechanism used to search the contents of an entry. From now only one thread is created to do this task. The result is that there is no need of interrupting threads and that the number of threads that are generated is limited.

2. When the server contents are read, check also if the user connection (the one used by the LDAP browser to read user data) works. If it is not the case, a message informing the user to provide authentication is displayed. This modification helps in the case we encounter other issues and does not force the user to reopen the control panel dialog (or to figure out that the workaround is to go to 'File->Server to Administer'.

This check is already done for the admin connection, so this is just a completion of that check.
3 files modified
239 ■■■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java 115 ●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseEntriesPanel.java 98 ●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/util/LDAPEntryReader.java 26 ●●●●● diff | view | raw | blame | history