@ThreadSafety(level=INTERFACE_THREADSAFE) public interface SCIMLDAPAttributeMapper
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
toJsonNode(Attribute ldapAttribute)
Converts an LDAP attribute to a JSON node.
|
Attribute |
toLdapAttribute(com.fasterxml.jackson.databind.JsonNode jsonNode,
java.lang.String scimAttributeName,
java.lang.String ldapAttributeName)
Converts the given JSON node to an LDAP attribute.
|
ASN1OctetString |
toLdapValue(com.fasterxml.jackson.databind.JsonNode jsonNode,
java.lang.String ldapAttributeName)
Converts the value of the given JSON node to a raw
ASN1OctetString value for use in constructing an LDAP
Attribute object. |
ASN1OctetString[] |
toLdapValues(com.fasterxml.jackson.databind.JsonNode jsonNode,
java.lang.String ldapAttributeName)
Converts the value of the given JSON node to an array of raw
ASN1OctetString values for use in constructing an LDAP
Attribute object. |
com.fasterxml.jackson.databind.node.TextNode |
toTextNode(Attribute ldapAttribute)
Converts an LDAP attribute to a JSON text node.
|
com.fasterxml.jackson.databind.JsonNode toJsonNode(Attribute ldapAttribute) throws com.unboundid.scim2.common.exceptions.ScimException
ldapAttribute
- An LDAP attribute object.com.unboundid.scim2.common.exceptions.ScimException
- If the attribute cannot be converted.com.fasterxml.jackson.databind.node.TextNode toTextNode(Attribute ldapAttribute) throws com.unboundid.scim2.common.exceptions.ScimException
ldapAttribute
- An LDAP attribute object.com.unboundid.scim2.common.exceptions.ScimException
- If the attribute cannot be converted.Attribute toLdapAttribute(com.fasterxml.jackson.databind.JsonNode jsonNode, java.lang.String scimAttributeName, java.lang.String ldapAttributeName) throws com.unboundid.scim2.common.exceptions.ScimException
jsonNode
- A SCIM attribute as a Jackson JsonNode.scimAttributeName
- The SCIM attribute name.ldapAttributeName
- The LDAP attribute name.com.unboundid.scim2.common.exceptions.ScimException
- If the attribute cannot be converted.ASN1OctetString toLdapValue(com.fasterxml.jackson.databind.JsonNode jsonNode, java.lang.String ldapAttributeName) throws com.unboundid.scim2.common.exceptions.ScimException
ASN1OctetString
value for use in constructing an LDAP
Attribute
object. If the SCIM attribute is multivalued, then the
first value will be returned.jsonNode
- A SCIM attribute as a Jackson JsonNode.ldapAttributeName
- The LDAP attribute name.com.unboundid.scim2.common.exceptions.ScimException
- If the attribute cannot be converted.ASN1OctetString[] toLdapValues(com.fasterxml.jackson.databind.JsonNode jsonNode, java.lang.String ldapAttributeName) throws com.unboundid.scim2.common.exceptions.ScimException
ASN1OctetString
values for use in constructing an LDAP
Attribute
object.jsonNode
- A SCIM attribute as a Jackson JsonNode.ldapAttributeName
- The LDAP attribute name.com.unboundid.scim2.common.exceptions.ScimException
- If the attribute cannot be converted.