<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thanks for pointing this. We did not
test with Novell eDirectory, so it's possible that it didn't work.
If you have opportunity to try with latest Keycloak master, fix it
in master and then send the PR, it will be very cool! Note that
there was some refactoring in latest master and some code you
pointed is not valid anymore (PartitionManagerRegistry was
refactored and renamed to LDAPIdentityStoreRegistry). <br>
<br>
Otherwise I can try to apply it myself and ping you, so you can
give it a try with novell edirectory (or wait for the next
released keycloak version). <br>
<br>
What do you think?<br>
Marek<br>
<br>
On 15.4.2015 00:30, <a class="moz-txt-link-abbreviated" href="mailto:fiorenzo.pizza@ict-group.it">fiorenzo.pizza@ict-group.it</a> wrote:<br>
</div>
<blockquote cite="mid:552D9503.9090407@ict-group.it" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>