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

jvergara
22.31.2009 08db26a180ec0958cbc04ef4aa33debcacb3d5ed
refs
author jvergara <jvergara@localhost>
Thursday, October 22, 2009 15:31 +0200
committer jvergara <jvergara@localhost>
Thursday, October 22, 2009 15:31 +0200
commit08db26a180ec0958cbc04ef4aa33debcacb3d5ed
tree 08cd42896f3a474e09145800e32ad0c3f6c69e72 tree | zip | gz
parent 4a864149bd75cfde6287fc06bd21fbec1915ca93 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
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java 115 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseEntriesPanel.java 98 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/util/LDAPEntryReader.java 26 ●●●●● diff | view | raw | blame | history