Rest2LDAP Endpoint (DEPRECATED)
DEPRECATED for removal since 7.4.0: The new HDAP (HTTP Directory Access Protocol) feature provides access to LDAP data over HTTP. It improves over Rest2LDAP by providing direct access to hierarchical directory data in a way that is dynamic and discoverable, and greatly increases developer experience by working out-of-the-bo thanks to zero config approach. Alternative: Consider using HDAP, which is available as a preview feature since the 7.4 release. |
The Rest2LDAP Endpoint provides RESTful access to LDAP application data using a set of customizable data transformations.
Parent
The Rest2LDAP Endpoint object inherits from HTTP Endpoint.
Rest2LDAP Endpoint properties
You can use configuration expressions to set property values at startup time. For details, see Property value substitution.
Basic Properties | Advanced Properties |
---|---|
authorization-mechanism
Synopsis |
The HTTP authorization mechanisms supported by this HTTP Endpoint. |
Default value |
None |
Allowed values |
The name of an existing http-authorization-mechanism. The referenced authorization mechanism must be enabled when the HTTP Endpoint is enabled. |
Multi-valued |
Yes |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
base-path
Synopsis |
All HTTP requests matching the base path or subordinate to it will be routed to the HTTP endpoint unless a more specific HTTP endpoint is found. |
Default value |
None |
Allowed values |
A string. |
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
Yes |
config-directory
Synopsis |
The directory containing the Rest2Ldap configuration file(s) for this specific endpoint. |
Description |
The directory must be readable by the server and may contain multiple configuration files, one for each supported version of the REST endpoint. If a relative path is used then it will be resolved against the server’s instance directory. |
Default value |
None |
Allowed values |
A directory that is readable by the server. |
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
Advanced properties
Use the --advanced
option to access advanced properties.
java-class
Synopsis |
Specifies the fully-qualified name of the Java class that provides the Rest2LDAP Endpoint implementation. |
Default value |
org.opends.server.protocols.http.rest2ldap.Rest2LdapEndpoint |
Allowed values |
A Java class that extends or implements:
|
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
return-null-for-missing-properties
Synopsis |
Indicates whether missing (unmapped) JSON properties should be included in JSON resources. |
Description |
By default JSON properties that do not have a corresponding LDAP attribute are unmapped and not included in JSON resources returned by the REST endpoint. Set this option to true if unmapped JSON properties should be included with a value of null. |
Default value |
false |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |