<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
to support Novell eDirectory GUID, you can modify some lines of
codes..<br>
<br>
<b>1) [project keycloak-model-api] -> class:
org.keycloak.models.LDAPConstants</b><br>
<br>
- adding a new vendor constant ( public static final String <b>VENDOR_NOVELL_EDIRECTORY="edirectory"</b>;)<br>
<br>
<b>2) [project keycloak-picketlink-ldap]</b><b> -></b><b> class:
</b><b>org.keycloak.picketlink.ldap.PartitionManagerRegistry</b><br>
<br>
// RHDS is using "nsuniqueid" as unique identifier instead of
"entryUUID"<br>
// Novell eDirectory use "guid"<br>
if (vendor != null &&
vendor.equals(LDAPConstants.VENDOR_RHDS)) {<br>
ldapStoreBuilder.uniqueIdentifierAttributeName("nsuniqueid");<br>
} else if (LDAPConstants.VENDOR_TIVOLI.equals(vendor)) {<br>
ldapStoreBuilder.uniqueIdentifierAttributeName("uniqueidentifier");<br>
}<b> else if
(LDAPConstants.VENDOR_NOVELL_EDIRECTORY.equals(vendor)) {</b><b><br>
</b><b>
ldapStoreBuilder.uniqueIdentifierAttributeName("guid");</b><b><br>
</b><b> }</b><br>
<br>
<b>3) [project keycloak-forms-common-themes] -> file: users.js</b><br>
<br>
$scope.ldapVendors = [<br>
{ "id": "ad", "name": "Active Directory" },<br>
{ "id": "rhds", "name": "Red Hat Directory Server" },<br>
{ "id": "tivoli", "name": "Tivoli" },<br>
<b> { "id": "edirectory", "name": "eDirectory " },</b><br>
{ "id": "other", "name": "Other" }<br>
];<br>
<br>
<br>
What do you think about? I need more time to test my patch.. the
keycloak project not compiles in my workspace...<br>
<br>
Best Regards <br>
<br>
Fiorenzo Pizza<br>
</body>
</html>