Search in sources :

Example 1 with BinaryValue

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));
}
Also used : BinaryValue(org.apache.directory.api.ldap.model.entry.BinaryValue)

Aggregations

BinaryValue (org.apache.directory.api.ldap.model.entry.BinaryValue)1