use of org.apache.directory.api.ldap.model.entry.BinaryValue in project ldapchai by ldapchai.
the class ApacheLdapProviderImpl method replaceBinaryAttribute.
public void replaceBinaryAttribute(final String entryDN, final String attributeName, final byte[] oldValue, final byte[] newValue) throws ChaiUnavailableException, ChaiOperationException {
activityPreCheck();
getInputValidator().replaceBinaryAttribute(entryDN, attributeName, oldValue, newValue);
replaceAttributeImpl(entryDN, attributeName, new BinaryValue(oldValue), new BinaryValue(newValue));
}
Aggregations