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

jvergara
13.19.2010 9b4ec2d522a8feda97e582a5fab9c9a12214d35d
refs
author jvergara <jvergara@localhost>
Wednesday, January 13, 2010 18:19 +0100
committer jvergara <jvergara@localhost>
Wednesday, January 13, 2010 18:19 +0100
commit9b4ec2d522a8feda97e582a5fab9c9a12214d35d
tree cdd7d05c7f189e08c3e68e6a549766346f89b1de tree | zip | gz
parent dbee351c542e824fcc816c0b9f9c45fd6a552089 view | diff
Fix for issues https://opends.dev.java.net/issues/show_bug.cgi?id=4484 and https://opends.dev.java.net/issues/show_bug.cgi?id=4485.

Both issues are related to referrals. With these modifications:
1. If the user selects to follow referrals and they cannot be followed, an error message appears when the user selects the referral entry.
2. If the LDAP URL in the referral has no host/port specified, the local server is used.
3. An error message is displayed when there is a DIT loop condition (a referral in a server points to an entry in the same server that is an ascentor of the referral entry).
4. The scope and filter of the referral are honoured in a best-effort mode: the first entry of the referral filter is used to 'follow' the referral. So there is an accepted limitation in this area: if a referral has a filter where several entries can be retrieved, the first entry found is used to represent the node (and thus different refreshes in the browser can make that different entries appear in the place of the referral entry).
10 files modified
437 ■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/BrowserController.java 25 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/IconPool.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java 167 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/ReferralLimitExceededException.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseEntriesPanel.java 52 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/ErrorSearchingEntryPanel.java 131 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/LDAPEntryPanel.java 22 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/nodes/BasicNode.java 14 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/admin_tool.properties 16 ●●●●● diff | view | raw | blame | history