Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-663

LDAP referrals does not work - dir-context.referral-mode is always ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • None

      Elytron dir-context is not able to follow/throw referrals in LDAP search. Value set in Elytron dir-context.referral-mode is ignored by Elytron.

      InitialLdapContext java.naming.referral parameter is internally always set to value ignore. It is caused by ignoring ReferralMode parameter in obtainDirContext of org.wildfly.security.auth.realm.ldap.SimpleDirContextFactoryBuilder$SimpleDirContextFactory [1].

      We request blocker flag since this issue causes that referrals cannot be used for LDAP search with Elytron.

      [1] https://github.com/wildfly-security/wildfly-elytron/blob/cb57f2f0ffcdb1470e3135007603c97679b9434f/src/main/java/org/wildfly/security/auth/realm/ldap/SimpleDirContextFactoryBuilder.java#L222

              jkalina@redhat.com Jan Kalina (Inactive)
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: