[midPoint-git] [Evolveum/midpoint] dbbd21: Smart Integration: Add DN mapping suggestion for L...

Michal Zelenčík noreply at github.com
Thu Feb 12 09:46:40 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: dbbd2195af453506675f498c3040d1cd296ac590
      https://github.com/Evolveum/midpoint/commit/dbbd2195af453506675f498c3040d1cd296ac590
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/WellKnownSchemaProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ad/UserActiveDirectoryMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ldap/InetOrgPersonLdapMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/scim/UserScimMappingProvider.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/DummyScenario.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSystemMappingsSuggestion.java
    A model/smart-impl/src/test/resources/smart/mappings-suggestion/resource-ad-for-mappings-suggestion.xml

  Log Message:
  -----------
  Smart Integration: Add DN mapping suggestion for LDAP and Active Directory

Implement automatic DN (distinguished name) mapping suggestions for
well-known schemas (LDAP inetOrgPerson and AD user):

- Extract DN suffix from sample data by analyzing existing DNs
- Generate outbound mappings using basic.composeDnWithSuffix function
- Use schema-specific RDN types: 'uid' for LDAP, 'cn' for AD
- Use fullName as RDN value for both schemas
- Mark generated DN mappings as system-provided metadata
- Skip DN mapping suggestion when no samples with DN values exist

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>


  Commit: 56eb680aed7aa6a27b71b4af7beb1b4bd69234c7
      https://github.com/Evolveum/midpoint/commit/56eb680aed7aa6a27b71b4af7beb1b4bd69234c7
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/WellKnownSchemaProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ad/UserActiveDirectoryMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ldap/InetOrgPersonLdapMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/scim/UserScimMappingProvider.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/DummyScenario.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSystemMappingsSuggestion.java
    A model/smart-impl/src/test/resources/smart/mappings-suggestion/resource-ad-for-mappings-suggestion.xml

  Log Message:
  -----------
  Merge branch 'dn-mapping'


Compare: https://github.com/Evolveum/midpoint/compare/1c4d9791d2c7...56eb680aed7a

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list