Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If more than one Active Directory instance is serving directory information, it may be necessary to enable referral following. This is done by modifying the DefaultInitialDirContextFactory bean. Basically you create a map (via the <map> element) and set that as the extraEnvVars property value. The map below has a single key-value pairentry. The key part of the key-value pair entry below matches the REFERRAL constant defined in the Context class. The value part in the key-value pair entry is one of the following: follow, ignore, or throw. (These values are also defined in the javadoc for the REFERRAL constant.

...