/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/ |
H A D | SoftReferenceEntryCache.java | 198 public boolean containsEntry(DN entryDN) argument 200 if (entryDN == null) { 205 return dnMap.containsKey(entryDN); 214 public Entry getEntry(DN entryDN) argument 216 SoftReference<CacheEntry> ref = dnMap.get(entryDN); 247 public long getEntryID(DN entryDN) argument 249 SoftReference<CacheEntry> ref = dnMap.get(entryDN); 371 public void removeEntry(DN entryDN) argument 373 SoftReference<CacheEntry> ref = dnMap.remove(entryDN);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/plugin/ |
H A D | EntryHistorical.java | 959 DN entryDN) 981 entryDN); 984 String normDNString = entryDN.toNormalizedString(); 958 extractEntryUUID(List<Attribute> entryUUIDAttributes, DN entryDN) argument
|
/forgerock/opendj-b2.6/src/server/org/opends/server/util/ |
H A D | LDIFReader.java | 237 DN entryDN; 257 entryDN = readDN(lines); 261 if (entryDN == null) 268 else if (!importConfig.includeEntry(entryDN)) 274 "exclude branches.", entryDN); 277 Message message = ERR_LDIF_SKIP.get(String.valueOf(entryDN)); 282 suffix = Importer.getMatchSuffix(entryDN, map); 289 "check." ,entryDN); 292 Message message = ERR_LDIF_SKIP.get(String.valueOf(entryDN)); 297 suffix.addPending(entryDN); 1154 readAttribute(LinkedList<StringBuilder> lines, StringBuilder line, DN entryDN, HashMap<ObjectClass,String> objectClasses, HashMap<AttributeType,List<AttributeBuilder>> userAttrBuilders, HashMap<AttributeType,List<AttributeBuilder>> operationalAttrBuilders, boolean checkSchema) argument 1347 readSingleValueAttribute( LinkedList<StringBuilder> lines, StringBuilder line, DN entryDN, String attributeName) argument 1599 parseModifyDNChangeRecordEntry(DN entryDN, LinkedList<StringBuilder> lines) argument 1721 getModifyDNAttributeValue(LinkedList<StringBuilder> lines, StringBuilder line, DN entryDN, String attributeName) argument 1744 parseModifyChangeRecordEntry(DN entryDN, LinkedList<StringBuilder> lines) argument 1821 parseDeleteChangeRecordEntry(DN entryDN, LinkedList<StringBuilder> lines) argument 1846 parseAddChangeRecordEntry(DN entryDN, LinkedList<StringBuilder> lines) argument 1935 parseSingleValue( LinkedList<StringBuilder> lines, StringBuilder line, DN entryDN, int colonPos, String attrName) argument 2156 addRDNAttributesIfNecessary(DN entryDN, HashMap<AttributeType,List<Attribute>>userAttributes, HashMap<AttributeType,List<Attribute>> operationalAttributes) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/workflowelement/localbackend/ |
H A D | LocalBackendModifyOperation.java | 135 protected DN entryDN; field in class:LocalBackendModifyOperation 312 entryDN = getEntryDN(); 313 if (entryDN == null){ 329 String.valueOf(entryDN))); 337 final Lock entryLock = LockManager.lockWrite(entryDN); 342 String.valueOf(entryDN))); 356 currentEntry = backend.getEntry(entryDN); 362 String.valueOf(entryDN))); 367 DN parentDN = entryDN.getParentDNInSuffix(); 398 selfChange = entryDN [all...] |
/forgerock/opendj2/src/server/org/opends/server/api/ |
H A D | EntryCache.java | 193 * Note that this method is called from @see #getEntry(DN entryDN, 196 * @param entryDN The DN for which to make the determination. 201 public abstract boolean containsEntry(DN entryDN); argument 208 * @param entryDN The DN of the entry to retrieve. 213 public abstract Entry getEntry(DN entryDN); argument 230 // Translate given backend/entryID pair to entryDN. 231 DN entryDN = getEntryDN(backend, entryID); 232 if (entryDN == null) 239 return getEntry(entryDN); 249 * @param entryDN Th 255 getEntryID(DN entryDN) argument 325 removeEntry(DN entryDN) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/authorization/dseecompat/ |
H A D | AciTargets.java | 576 * @param entryDN The DN to use in this evaluation. 580 AciTargets targets, DN entryDN) { 597 if(!targetDN.equals(entryDN)) 607 if(!targetDN.equals(entryDN.getParent())) 611 if(!entryDN.isDescendantOf(targetDN)) 615 if ((entryDN.getNumComponents() <= targetDN.getNumComponents()) || 616 !entryDN.isDescendantOf(targetDN)) { 633 if(entryDN.isDescendantOf(tmpDN)) 644 final boolean ret = targets.getTarget().matchesPattern(entryDN); 579 isTargetApplicable(Aci aci, AciTargets targets, DN entryDN) argument
|
/forgerock/opendj2/src/server/org/opends/server/backends/ |
H A D | MemoryBackend.java | 281 public synchronized ConditionResult hasSubordinates(DN entryDN) argument 284 long ret = numSubordinates(entryDN, false); 301 public synchronized long numSubordinates(DN entryDN, boolean subtree) argument 305 Set<DN> children = childDNs.get(entryDN); 308 if(entryMap.get(entryDN) != null) 334 public synchronized Entry getEntry(DN entryDN) argument 336 Entry entry = entryMap.get(entryDN); 347 public synchronized boolean entryExists(DN entryDN) argument 349 return entryMap.containsKey(entryDN); 360 DN entryDN 405 deleteEntry(DN entryDN, DeleteOperation deleteOperation) argument [all...] |
H A D | NullBackend.java | 288 public ConditionResult hasSubordinates(DN entryDN) argument 296 public long numSubordinates(DN entryDN, boolean subtree) argument 304 public Entry getEntry(DN entryDN) argument 311 public boolean entryExists(DN entryDN) argument 326 public void deleteEntry(DN entryDN, DeleteOperation deleteOperation) argument
|
/forgerock/opendj2/src/server/org/opends/server/core/ |
H A D | AddOperationBasis.java | 76 private DN entryDN; field in class:AddOperationBasis 127 entryDN = null; 145 * @param entryDN The DN for the entry. 153 DN entryDN, Map<ObjectClass,String> objectClasses, 160 this.entryDN = entryDN; 165 rawEntryDN = ByteString.valueOf(entryDN.toString()); 212 entryDN = null; 221 if (entryDN == null) 223 entryDN 151 AddOperationBasis(ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN, Map<ObjectClass,String> objectClasses, Map<AttributeType,List<Attribute>> userAttributes, Map<AttributeType,List<Attribute>> operationalAttributes) argument [all...] |
H A D | CompareOperationBasis.java | 77 private DN entryDN; field in class:CompareOperationBasis 119 entryDN = null; 137 * @param entryDN The entry DN for this compare operation. 144 DN entryDN, AttributeType attributeType, 150 this.entryDN = entryDN; 155 rawEntryDN = ByteString.valueOf(entryDN.toString()); 183 entryDN = null; 194 if (entryDN == null) { 197 entryDN 141 CompareOperationBasis( ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN, AttributeType attributeType, ByteString assertionValue) argument [all...] |
H A D | GroupManager.java | 553 * @param entryDN The DN of the entry containing the definition of the group 559 public Group getGroupInstance(DN entryDN) argument 564 return groupInstances.get(entryDN);
|
H A D | ModifyDNOperationBasis.java | 81 private DN entryDN; field in class:ModifyDNOperationBasis 136 entryDN = null; 155 * @param entryDN The current entry DN for this modify DN 165 DN entryDN, RDN newRDN, boolean deleteOldRDN, 171 this.entryDN = entryDN; 176 rawEntryDN = ByteString.valueOf(entryDN.toString()); 206 entryDN = null; 215 if (entryDN == null) 217 entryDN 162 ModifyDNOperationBasis(ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN, RDN newRDN, boolean deleteOldRDN, DN newSuperior) argument [all...] |
H A D | ModifyOperationBasis.java | 68 private DN entryDN; field in class:ModifyOperationBasis 112 entryDN = null; 127 * @param entryDN The entry DN for the modify operation. 134 DN entryDN, List<Modification> modifications) 139 this.entryDN = entryDN; 142 rawEntryDN = ByteString.valueOf(entryDN.toString()); 168 entryDN = null; 175 if (entryDN == null){ 177 entryDN 131 ModifyOperationBasis(ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN, List<Modification> modifications) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/extensions/ |
H A D | FIFOEntryCache.java | 225 public boolean containsEntry(DN entryDN) argument 227 if (entryDN == null) { 234 return dnMap.containsKey(entryDN); 246 public Entry getEntry(DN entryDN) argument 251 CacheEntry e = dnMap.get(entryDN); 272 public long getEntryID(DN entryDN) argument 277 CacheEntry e = dnMap.get(entryDN); 575 public void removeEntry(DN entryDN) argument 591 CacheEntry entry = dnMap.remove(entryDN); 807 DN entryDN [all...] |
H A D | SoftReferenceEntryCache.java | 197 public boolean containsEntry(DN entryDN) argument 199 if (entryDN == null) { 204 return dnMap.containsKey(entryDN); 213 public Entry getEntry(DN entryDN) argument 215 SoftReference<CacheEntry> ref = dnMap.get(entryDN); 246 public long getEntryID(DN entryDN) argument 248 SoftReference<CacheEntry> ref = dnMap.get(entryDN); 370 public void removeEntry(DN entryDN) argument 372 SoftReference<CacheEntry> ref = dnMap.remove(entryDN);
|
/forgerock/opendj2/src/server/org/opends/server/plugins/ |
H A D | UniqueAttributePlugin.java | 193 DN entryDN = entry.getDN(); 205 checkUniqueness(entryDN, t, v, baseDNs, recordedValues, config); 228 DN entryDN = modifyOperation.getEntryDN(); 230 Set<DN> baseDNs = getBaseDNs(config, entryDN); 255 checkUniqueness(entryDN, t, v, baseDNs, recordedValues, config); 281 entryDN, t, v, baseDNs, recordedValues, config); 303 private PreOperation checkUniqueness(DN entryDN, AttributeType t, argument 312 DN conflictDN = uniqueAttrValue2Dn.putIfAbsent(v, entryDN); 316 conflictDN = getConflictingEntryDN(baseDNs, entryDN, 388 DN entryDN 548 sendAlertForUnresolvedConflict(PluginOperation operation, DN entryDN, DN updatedEntryDN, AttributeType t, AttributeValue v, Set<DN> baseDNs, UniqueAttributePluginCfg config) argument 602 getBaseDNs(UniqueAttributePluginCfg config, DN entryDN) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/replication/plugin/ |
H A D | EntryHistorical.java | 910 DN entryDN) 932 entryDN); 935 String normDNString = entryDN.toNormalizedString(); 909 extractEntryUUID(List<Attribute> entryUUIDAttributes, DN entryDN) argument
|
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/util/ |
H A D | ReadOnlyConfigFileHandler.java | 101 public ConfigEntry getConfigEntry(DN entryDN) throws ConfigException argument 103 return configEntries.get(entryDN); 189 DN entryDN = entry.getDN(); 190 DN parentDN = entryDN.getParent(); 201 entryDN.toString(), 209 ERR_CONFIG_FILE_NO_PARENT.get(entryDN.toString(), 219 configEntries.put(entryDN, configEntry); 344 public Entry getEntry(DN entryDN) argument 347 ConfigEntry configEntry = configEntries.get(entryDN); 385 public ConditionResult hasSubordinates(DN entryDN) throw argument 438 numSubordinates(DN entryDN, boolean subtree) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/api/ |
H A D | EntryCache.java | 194 * Note that this method is called from @see #getEntry(DN entryDN, 197 * @param entryDN The DN for which to make the determination. 202 public abstract boolean containsEntry(DN entryDN); argument 209 * @param entryDN The DN of the entry to retrieve. 214 public abstract Entry getEntry(DN entryDN); argument 231 // Translate given backend/entryID pair to entryDN. 232 DN entryDN = getEntryDN(backend, entryID); 233 if (entryDN == null) 240 return getEntry(entryDN); 250 * @param entryDN Th 256 getEntryID(DN entryDN) argument 326 removeEntry(DN entryDN) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/authorization/dseecompat/ |
H A D | AciTargets.java | 578 * @param entryDN The DN to use in this evaluation. 583 AciTargets targets, DN entryDN) { 601 if(!targetDN.equals(entryDN)) 611 if(!targetDN.equals(entryDN.getParent())) 615 if(!entryDN.isDescendantOf(targetDN)) 619 if ((entryDN.getNumComponents() <= targetDN.getNumComponents()) || 620 !entryDN.isDescendantOf(targetDN)) { 637 if(entryDN.isDescendantOf(tmpDN)) 648 ret=targets.getTarget().matchesPattern(entryDN); 582 isTargetApplicable(Aci aci, AciTargets targets, DN entryDN) argument
|
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/ |
H A D | MemoryBackend.java | 324 public synchronized ConditionResult hasSubordinates(DN entryDN) argument 327 long ret = numSubordinates(entryDN, false); 346 public synchronized long numSubordinates(DN entryDN, boolean subtree) argument 350 Set<DN> children = childDNs.get(entryDN); 353 if(entryMap.get(entryDN) != null) 381 public synchronized Entry getEntry(DN entryDN) argument 383 Entry entry = entryMap.get(entryDN); 398 public synchronized boolean entryExists(DN entryDN) argument 400 return entryMap.containsKey(entryDN); 415 DN entryDN 464 deleteEntry(DN entryDN, DeleteOperation deleteOperation) argument [all...] |
H A D | NullBackend.java | 317 public ConditionResult hasSubordinates(DN entryDN) argument 327 public long numSubordinates(DN entryDN, boolean subtree) argument 337 public Entry getEntry(DN entryDN) argument 346 public boolean entryExists(DN entryDN) argument 365 public void deleteEntry(DN entryDN, DeleteOperation deleteOperation) argument
|
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | TestModifyDNOperation.java | 300 String entryDN, boolean user0Exists, boolean userTest0Exists) 305 final Entry newEntry = DirectoryServer.getEntry(DN.decode(entryDN)); 299 assertSuccessAndEntryExists(ModifyDNOperation modifyDNOperation, String entryDN, boolean user0Exists, boolean userTest0Exists) argument
|
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDAPCompareTestCase.java | 685 private void addEntriesUpToParentDN(Backend backend, DN entryDN) argument 688 if (!backend.entryExists(entryDN.getParent())) 690 addEntriesUpToParentDN(backend, entryDN.getParent()); 692 backend.addEntry(StaticUtils.createEntry(entryDN), null);
|
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/util/ |
H A D | ReadOnlyConfigFileHandler.java | 98 public ConfigEntry getConfigEntry(DN entryDN) throws ConfigException argument 100 return configEntries.get(entryDN); 182 DN entryDN = entry.getDN(); 183 DN parentDN = entryDN.getParent(); 194 entryDN.toString(), 202 ERR_CONFIG_FILE_NO_PARENT.get(entryDN.toString(), 212 configEntries.put(entryDN, configEntry); 310 public Entry getEntry(DN entryDN) argument 313 ConfigEntry configEntry = configEntries.get(entryDN); 344 public ConditionResult hasSubordinates(DN entryDN) throw argument 392 numSubordinates(DN entryDN, boolean subtree) argument [all...] |