Commit f34e01d
Michal Zelencik
Smart Integration: Fix wellknownschemas group name mapping suggestions
- Use dynamic resource name prefix instead of hardcoded 'ldap:' or 'ad:'
- Fix bug: use 'input' variable instead of attribute name in script
- Suggest both as-is and prefixed mappings (both STRONG strength)
- Applies to GroupOfNamesLdapMappingProvider and GroupActiveDirectoryMappingProvider
The prefixed mapping now generates: resource.name + '-' + input
Example: "MyLDAP-administrators" instead of "ldap:administrators"1 parent 296f8f8 commit f34e01d
File tree
2 files changed
+6
-4
lines changed- model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas
- ad
- ldap
2 files changed
+6
-4
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments