Package org.forgerock.opendj.rest2ldap
APIs for implementing REST to LDAP gateways. The API is implemented by
SubResourceImpl
which is using a pre-established
Connection
encapsulated in the
LdapClientContext
.
This context is injected by the
org.forgerock.opendj.rest2ldap.authz.ProxiedAuthV2Filter depending on the
SecurityContext
injected by one of the configured authorization filters.-
Class Summary Class Description AbstractResourceReferencePropertyMapper<T extends AbstractResourceReferencePropertyMapper<T>> Abstract class for property mappers mapping a DN (or DN and JSON) LDAP attribute to a JSON object.AbstractReverseResourceReferencePropertyMapper<T extends AbstractReverseResourceReferencePropertyMapper<T>> A property mapper which provides a mapping from a JSON value to a DN valued LDAP attribute in another resource.AffinityContext An affinity context can be used to bypass any load-balancing and always direct a requests to the same server.CollectionSubResource Defines a one-to-many relationship between a parent resource and its children.DescribableRequestHandler Decorator for a request handler that can return an api descriptor of the underlying handler.ErrorLoggerFilter Logs internal server errors and runtime exceptions once the request has been processed.InlineResourcePropertyMapper A property mapper which provides a mapping from a DN (or DN and JSON) LDAP attribute to a JSON object.JsonFilteredResources This class contains methods for creating and manipulating connection factories and connections.JsonPropertyMapper A property mapper which provides a mapping from a JSON value to an LDAP attribute having the JSON syntax.LdapClientContext AContext
that injects an LDAP connection which will be used for performing subsequent LDAP operations.ObjectPropertyMapper An property mapper which maps JSON objects to LDAP attributes.PropertyMapper A property mapper is responsible for converting JSON values to and from LDAP attributes.Resource Defines the characteristics of a resource, including its properties, inheritance, and sub-resources.Rest2Ldap Provides methods for constructing Rest2Ldap protocol gateways.Rest2LdapHttpApplication Rest2ldap HTTP application.Rest2LdapJsonConfigurator Provides core factory methods and builders for constructing Rest2Ldap endpoints from JSON configuration.Rest2ldapMessages This file contains localizable message descriptors having the resource nameorg.forgerock.opendj.rest2ldap.rest2ldap
.SimplePropertyMapper An property mapper which provides a simple mapping from a JSON value to a single LDAP attribute.SingletonSubResource Represents a one-to-one relationship between a parent resource and a child sub-resource.SubResource A SubResource defines how to reach a resource relative to its parent resource. -
Enum Summary Enum Description Action Represents anaction
that may be performed against a resource.ReadOnUpdatePolicy The policy which should be used in order to read an entry before it is deleted, or after it is added or modified.WritabilityPolicy The writability policy determines whether an attribute supports updates.