Modifier and Type | Method and Description |
---|---|
SimpleAttributeMapper |
SimpleAttributeMapper.decoder(org.forgerock.util.Function<org.forgerock.opendj.ldap.ByteString,?,org.forgerock.util.promise.NeverThrowsException> f)
Sets the decoder which will be used for converting LDAP attribute values
to JSON values.
|
SimpleAttributeMapper |
SimpleAttributeMapper.defaultJSONValue(Object defaultValue)
Sets the default JSON value which should be substituted when the LDAP
attribute is not found in the LDAP entry.
|
SimpleAttributeMapper |
SimpleAttributeMapper.encoder(org.forgerock.util.Function<Object,org.forgerock.opendj.ldap.ByteString,org.forgerock.util.promise.NeverThrowsException> f)
Sets the encoder which will be used for converting JSON values to LDAP
attribute values.
|
SimpleAttributeMapper |
SimpleAttributeMapper.isBinary()
Indicates that JSON values are base 64 encodings of binary data.
|
static SimpleAttributeMapper |
Rest2LDAP.simple(org.forgerock.opendj.ldap.AttributeDescription attribute)
Returns an attribute mapper which provides a simple mapping from a JSON
value to a single LDAP attribute.
|
static SimpleAttributeMapper |
Rest2LDAP.simple(String attribute)
Returns an attribute mapper which provides a simple mapping from a JSON
value to a single LDAP attribute.
|
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.