How to get unboundid in-memory server to be able to do TokenGroups?
A Java-based LDAP API
Brought to you by:
dirmgr,
kennethleo
I've been able to export an LDIF of active directory and am able to load this into the in-memory ldap server. Which is AMAZING! But one thing I'm struggling with is that the TokenGroups do not work.
Is there some way to get the computed values such as token groups to work in the in-memory server?
My goal is to be able to swap out live active directory for the in-memory ldap server in my unit tests and have them pass in the same way. That is the one thing that is holding me up from doing so.
Last edit: Nicholas DiPiazza 2018-09-25
I'm not familiar with Active Directory token groups specifically, but if the value can be computed, then the best way to accomplish that would probably be to write an InMemoryOperationInterceptor whose processSearchEntry method updates the entry being returned to the client to include the desired information.