March 23, 2016 at 9:45 am #8852
I am using OpenDJ 3.0
Getting result for, /users/user1
I have to access, /users/realm/sub-realm/user1
How to GET User from subtree ?
How to specify search DN ?
March 23, 2016 at 10:03 am #8854LudoModerator
- This topic was modified 6 years, 6 months ago by Firos.
Sub-resources are not yet supported by the OpenDJ REST to LDAP interface.March 23, 2016 at 10:15 am #8857
Oh is it. I support it as a good feature for OpenDJ, then we can access data Realm wise same as in OpenAM.
Actually i tried this option to check the issue,
Login to open-AM and change my data, it appears in LDAP and Open-AM correctly. But, if i change any data like an email address in OpenDJ using Apache Directory Studio, Open-AM does not appear to update the information it still has the old email in the end user page.
I think its due to OpenAM cache.
How to clear cache manually after some updates in OpenDJ?
March 23, 2016 at 10:18 am #8859Mark CraigParticipant
- This reply was modified 6 years, 6 months ago by Firos.
If OpenAM is storing users for different realms under a different DN in OpenDJ, you can edit the REST to LDAP configuration in
/path/to/opendj/config/http-config.json, which is described in https://backstage.forgerock.com/#!/docs/opendj/3/reference/appendix-rest2ldap , to change the “baseDN” and potentially “searchBaseDN” properties.
You’ll need to restart at least the HTTP connection handler (set enabled:false, then set enabled:true) to have it re-read the changed configuration.March 23, 2016 at 11:11 am #8860
You mean create separate API mappings for different DNs. That’s we have tried and its working fine.
But we need to create separate API mapping for different search DNs, thats difficult.
It will be useful if we can give search DN as a parameter while API execution.
So the conclusion is,
“Sub-resources are not yet supported by the OpenDJ REST to LDAP interface.”
So we can wait for solution from Forgerock…..
You must be logged in to reply to this topic.