thrownewIllegalArgumentException("Cannot encode attribute value to UTF-8 for attribute "+ldapAttributeType.getName()+": "+e.getMessage()
+"; attributeType="+ldapAttributeType,e);
...
...
@@ -627,22 +626,22 @@ public abstract class AbstractSchemaTranslator<C extends AbstractLdapConfigurati
// e.g. human-readable jpegPhoto attribute will expect StringValue
returnnewValue(bytes);
}else{
thrownewIllegalArgumentException("Invalid value for attribute "+ldapAttributeType.getName()+": expected byte[] but got "+icfAttributeValue.getClass()
thrownewIllegalArgumentException("Invalid value for attribute "+ldapAttributeType.getName()+": expected byte[] but got "+connIdAttributeValue.getClass()
+"; attributeType="+ldapAttributeType);
}
}elseif(!isBinaryAttribute(syntaxOid)){
}elseif(!isBinarySyntax(syntaxOid)){
LOG.ok("Converting to LDAP: {0} ({1}): explicit string",ldapAttributeType.getName(),syntaxOid);