attrValue.setStringValue(value.toString());
} else if (schema.getType() == AttributeSchemaType.Binary) {
attrValue.setBinaryValue((byte[]) value);
} else {
try {
attrValue.parseValue(schema, value.toString());
} catch (ParsingValidationException e) {
LOG.error("While parsing provided value {}", value, e);
attrValue.setStringValue(value.toString());
}
}