Search in sources :

Example 1 with StringValue

use of org.apache.directory.api.ldap.model.entry.StringValue in project ldapchai by ldapchai.

the class ApacheLdapProviderImpl method replaceStringAttribute.

public void replaceStringAttribute(final String entryDN, final String attributeName, final String oldValue, final String newValue) throws ChaiOperationException, ChaiUnavailableException, IllegalStateException {
    activityPreCheck();
    getInputValidator().replaceStringAttribute(entryDN, attributeName, oldValue, newValue);
    replaceAttributeImpl(entryDN, attributeName, new StringValue(oldValue), new StringValue(newValue));
}
Also used : StringValue(org.apache.directory.api.ldap.model.entry.StringValue)

Aggregations

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