Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7320

LDAP referrals does not work - need to set custom filter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 11.0.0.Final
    • None
    • Security
    • 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)
              jkalina@redhat.com Jan Kalina (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: