Package | Description |
---|---|
org.forgerock.opendj.rest2ldap |
APIs for implementing REST to LDAP gateways.
|
Modifier and Type | Method and Description |
---|---|
SimplePropertyMapper |
SimplePropertyMapper.decoder(Function<ByteString,?,? extends Exception> f)
Sets the decoder which will be used for converting LDAP attribute values
to JSON values.
|
SimplePropertyMapper |
SimplePropertyMapper.defaultJsonValue(Object defaultValue)
Sets the default JSON value which should be substituted when the LDAP attribute is not found in the LDAP entry.
|
SimplePropertyMapper |
SimplePropertyMapper.defaultJsonValues(Collection<?> defaultValues)
Sets the default JSON values which should be substituted when the LDAP attribute is not found in the LDAP entry.
|
SimplePropertyMapper |
SimplePropertyMapper.encoder(Function<Object,ByteString,? extends Exception> f)
Sets the encoder which will be used for converting JSON values to LDAP
attribute values.
|
SimplePropertyMapper |
SimplePropertyMapper.isBinary(boolean isBinary)
Indicates that JSON values are base 64 encodings of binary data.
|
SimplePropertyMapper |
SimplePropertyMapper.jsonSchema(JsonValue jsonSchema)
Sets the JSON schema corresponding to this simple property mapper.
|
static SimplePropertyMapper |
Rest2Ldap.simple(AttributeDescription attribute)
Returns a property mapper which provides a simple mapping from a JSON value to a single LDAP attribute.
|
static SimplePropertyMapper |
Rest2Ldap.simple(String attribute)
Returns a property mapper which provides a simple mapping from a JSON value to a single LDAP attribute.
|
Copyright 2010-2022 ForgeRock AS.