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

jvergara
13.19.2010 7399fdb018d2248ec36edb30f5339cdcafbe2e98
refs
author jvergara <jvergara@localhost>
Wednesday, January 13, 2010 18:19 +0100
committer jvergara <jvergara@localhost>
Wednesday, January 13, 2010 18:19 +0100
commit7399fdb018d2248ec36edb30f5339cdcafbe2e98
tree 60fe6147cfc92d7d4f3c173e56e2a44f73951c43 tree | zip | gz
parent a51cc2c384b74cc6c6a2ec9fa7f32147fd75f47d 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
opends/src/guitools/org/opends/guitools/controlpanel/browser/BrowserController.java 25 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/browser/IconPool.java 4 ●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java 167 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/browser/ReferralLimitExceededException.java 4 ●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseEntriesPanel.java 52 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/ErrorSearchingEntryPanel.java 131 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/LDAPEntryPanel.java 22 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java 2 ●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/nodes/BasicNode.java 14 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/admin_tool.properties 16 ●●●●● diff | view | raw | blame | history