Searched defs:entryDN (Results 201 - 225 of 431) sorted by relevance

1234567891011>>

/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/core/
H A DDeleteOperationTestCase.java130 * to compute the entryDN.
218 private DeleteOperation processDeleteRaw(String entryDN) argument
221 return conn.processDelete(ByteString.valueOf(entryDN));
224 private DeleteOperation processDelete(String entryDN) throws DirectoryException argument
227 return conn.processDelete(DN.decode(entryDN));
H A DTestModifyDNOperation.java295 String entryDN, boolean user0Exists, boolean userTest0Exists)
300 final Entry newEntry = DirectoryServer.getEntry(DN.decode(entryDN));
294 assertSuccessAndEntryExists(ModifyDNOperation modifyDNOperation, String entryDN, boolean user0Exists, boolean userTest0Exists) argument
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/tools/
H A DLDAPCompareTestCase.java684 private void addEntriesUpToParentDN(Backend backend, DN entryDN) argument
687 if (!backend.entryExists(entryDN.getParent()))
689 addEntriesUpToParentDN(backend, entryDN.getParent());
691 backend.addEntry(StaticUtils.createEntry(entryDN), null);
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/core/
H A DTestModifyDNOperation.java300 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/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/tools/
H A DLDAPCompareTestCase.java685 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-jel-hg/src/server/org/opends/server/core/
H A DAddOperationBasis.java87 private DN entryDN; field in class:AddOperationBasis
138 entryDN = null;
157 * @param entryDN The DN for the entry.
165 DN entryDN, Map<ObjectClass,String> objectClasses,
172 this.entryDN = entryDN;
177 rawEntryDN = ByteString.valueOf(entryDN.toString());
228 entryDN = null;
239 if (entryDN == null)
241 entryDN
163 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 DCompareOperationBasis.java82 private DN entryDN; field in class:CompareOperationBasis
124 entryDN = null;
142 * @param entryDN The entry DN for this compare operation.
149 DN entryDN, AttributeType attributeType,
155 this.entryDN = entryDN;
160 rawEntryDN = ByteString.valueOf(entryDN.toString());
186 entryDN = null;
196 if (entryDN == null) {
199 entryDN
146 CompareOperationBasis( ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN, AttributeType attributeType, ByteString assertionValue) argument
[all...]
H A DGroupManager.java619 * @param entryDN The DN of the entry containing the definition of the group
625 public Group getGroupInstance(DN entryDN) argument
632 group = groupInstances.get(entryDN);
H A DModifyDNOperationBasis.java82 private DN entryDN; field in class:ModifyDNOperationBasis
138 entryDN = null;
158 * @param entryDN The current entry DN for this modify DN
168 DN entryDN, RDN newRDN, boolean deleteOldRDN,
174 this.entryDN = entryDN;
179 rawEntryDN = ByteString.valueOf(entryDN.toString());
216 entryDN = null;
228 if (entryDN == null)
230 entryDN
165 ModifyDNOperationBasis(ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN, RDN newRDN, boolean deleteOldRDN, DN newSuperior) argument
[all...]
H A DModifyOperationBasis.java78 private DN entryDN; field in class:ModifyOperationBasis
123 entryDN = null;
138 * @param entryDN The entry DN for the modify operation.
145 DN entryDN, List<Modification> modifications)
150 this.entryDN = entryDN;
153 rawEntryDN = ByteString.valueOf(entryDN.toString());
181 entryDN = null;
189 if (entryDN == null){
191 entryDN
142 ModifyOperationBasis(ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN, List<Modification> modifications) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/
H A DFIFOEntryCache.java226 public boolean containsEntry(DN entryDN) argument
228 if (entryDN == null) {
235 return dnMap.containsKey(entryDN);
247 public Entry getEntry(DN entryDN) argument
252 CacheEntry e = dnMap.get(entryDN);
273 public long getEntryID(DN entryDN) argument
278 CacheEntry e = dnMap.get(entryDN);
576 public void removeEntry(DN entryDN) argument
592 CacheEntry entry = dnMap.remove(entryDN);
808 DN entryDN
[all...]
H A DSoftReferenceEntryCache.java198 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/opendj2-jel-hg/src/server/org/opends/server/replication/plugin/
H A DEntryHistorical.java959 DN entryDN)
981 entryDN);
984 String normDNString = entryDN.toNormalizedString();
958 extractEntryUUID(List<Attribute> entryUUIDAttributes, DN entryDN) argument
/forgerock/opendj2-jel-hg/src/server/org/opends/server/util/
H A DLDIFReader.java237 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/opendj2-jel-hg/src/server/org/opends/server/workflowelement/localbackend/
H A DLocalBackendModifyOperation.java135 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-hg/src/server/org/opends/server/api/
H A DEntryCache.java193 * 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-hg/src/server/org/opends/server/authorization/dseecompat/
H A DAciTargets.java576 * @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-hg/src/server/org/opends/server/backends/
H A DMemoryBackend.java281 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 DNullBackend.java288 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-hg/src/server/org/opends/server/core/
H A DAddOperationBasis.java76 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 DCompareOperationBasis.java77 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 DGroupManager.java553 * @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 DModifyDNOperationBasis.java81 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 DModifyOperationBasis.java68 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-hg/src/server/org/opends/server/extensions/
H A DFIFOEntryCache.java225 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...]

Completed in 142 milliseconds

1234567891011>>