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

asRdn meaning in LDAP realm

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Realms
    • None

      Meaning of asRdn in AttributeMaping of LdapSecurityRealm is illogicaly different for filtered and simple attributes:

      Currently:

      • meaning of asRdn is different for mappings without filter (obtaining attribute from identity entry) and with filter (different entry)
        • simple: value of attribute (defined by ldapName) is parsed as DN
        • filtered: DN of the filtered entry is parsed (and ldapName is ignored - even through it is defined)

      I suggest:

      • when asRdn is defined:
        • if ldapName will be defined, LDAP attribute will be parsed (for filtered mappings too)
        • if ldapName will not be defined, DN of entry will be parsed (DN of identity entry for simple mapping)

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

              Created:
              Updated:
              Resolved: