Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-315

Use the LDAP mapping configuration to discover the supported types

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • PLINK_2.5.3.Beta1
    • PLINK_2.5.2.FInal
    • IDM
    • None

    Description

      Currently the LDAP store configuration forces users to provide the supported types as follows:

      .ldap()
          .supportType(Agent.class) // redundant supported type configuration
          .mapping(Agent.class)
          .objectClasses("account")
          .attribute("loginName", UID, true)
          .readOnlyAttribute("createdDate", CREATE_TIMESTAMP)
      

      We can simplify the configuration by discovering all supported types from the mapping configuration, as follows:

      .ldap()
          .mapping(Agent.class) // the Agent type is automatically added to the lit of supported types
          .objectClasses("account")
          .attribute("loginName", UID, true)
          .readOnlyAttribute("createdDate", CREATE_TIMESTAMP)
      

      Attachments

        Activity

          People

            psilva@redhat.com Pedro Igor Craveiro
            psilva@redhat.com Pedro Igor Craveiro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: