Modifier and Type | Class and Description |
---|---|
class |
ObjectAttributeMapper
An attribute mapper which maps JSON objects to LDAP attributes.
|
class |
ReferenceAttributeMapper
An attribute mapper which provides a mapping from a JSON value to a single DN
valued LDAP attribute.
|
class |
SimpleAttributeMapper
An attribute mapper which provides a simple mapping from a JSON value to a
single LDAP attribute.
|
Modifier and Type | Method and Description |
---|---|
static AttributeMapper |
Rest2LDAP.constant(Object value)
Returns an attribute mapper which maps a single JSON attribute to a JSON
constant.
|
Modifier and Type | Method and Description |
---|---|
ObjectAttributeMapper |
ObjectAttributeMapper.attribute(String name,
AttributeMapper mapper)
Creates a mapping for an attribute contained in the JSON object.
|
Rest2LDAP.Builder |
Rest2LDAP.Builder.mapper(AttributeMapper mapper)
Sets the attribute mapper which should be used for mapping JSON
resources to and from LDAP entries.
|
static ReferenceAttributeMapper |
Rest2LDAP.reference(org.forgerock.opendj.ldap.AttributeDescription attribute,
org.forgerock.opendj.ldap.DN baseDN,
org.forgerock.opendj.ldap.AttributeDescription primaryKey,
AttributeMapper mapper)
Returns an attribute mapper which provides a mapping from a JSON value to
a single DN valued LDAP attribute.
|
static ReferenceAttributeMapper |
Rest2LDAP.reference(String attribute,
String baseDN,
String primaryKey,
AttributeMapper mapper)
Returns an attribute mapper which provides a mapping from a JSON value to
a single DN valued LDAP attribute.
|
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.