package org.argeo.naming;
-import static org.argeo.osgi.useradmin.LdifName.dn;
-
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
Object attributeValue = isBase64 ? Base64.getDecoder().decode(cleanValueStr) : cleanValueStr;
// manage DN attributes
- if (attributeId.equals(dn.name()) || isLastLine) {
+ if (attributeId.equals(LdapAttrs.DN) || isLastLine) {
if (currentDn != null) {
//
// ADD
}
}
- if (attributeId.equals(dn.name()))
+ if (attributeId.equals(LdapAttrs.DN))
try {
currentDn = new LdapName(attributeValue.toString());
currentAttributes = new BasicAttributes(true);