| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | * Portions Copyright 2011-2014 ForgeRock AS |
| | | */ |
| | | package org.opends.server.backends; |
| | | |
| | |
| | | new LinkedHashMap<AttributeType, List<Attribute>>(); |
| | | |
| | | // Add the RDN attribute(s) for the provided entry. |
| | | RDN rdn = entryDN.getRDN(); |
| | | RDN rdn = entryDN.rdn(); |
| | | if (rdn != null) |
| | | { |
| | | int numAVAs = rdn.getNumValues(); |
| | |
| | | DN authzDN = modifyOperation.getAuthorizationDN(); |
| | | if (authzDN == null) |
| | | { |
| | | authzDN = DN.nullDN(); |
| | | authzDN = DN.rootDN(); |
| | | } |
| | | |
| | | modifiersName = AttributeValues.create( |
| | |
| | | new LinkedHashMap<AttributeType,List<Attribute>>(); |
| | | |
| | | DN dn = DirectoryServer.getSchemaDN(); |
| | | RDN rdn = dn.getRDN(); |
| | | RDN rdn = dn.rdn(); |
| | | for (int i=0; i < rdn.getNumValues(); i++) |
| | | { |
| | | AttributeType type = rdn.getAttributeType(i); |
| | |
| | | newBaseDNs = new HashSet<DN>(backendCfg.getSchemaEntryDN()); |
| | | if (newBaseDNs.isEmpty()) |
| | | { |
| | | newBaseDNs.add(DN.decode(DN_DEFAULT_SCHEMA_ROOT)); |
| | | newBaseDNs.add(DN.valueOf(DN_DEFAULT_SCHEMA_ROOT)); |
| | | } |
| | | } |
| | | catch (Exception e) |