/forgerock/opendj-b2.6/src/server/org/opends/server/workflowelement/localbackend/ |
H A D | LocalBackendAddOperation.java | 92 protected DN entryDN; field in class:LocalBackendAddOperation 182 entryDN = getEntryDN(); 183 if (entryDN == null) 200 DN parentDN = entryDN.getParentDNInSuffix(); 227 entryLock = LockManager.lockWrite(entryDN); 232 String.valueOf(entryDN))); 299 String.valueOf(entryDN), 315 String.valueOf(entryDN), 328 if (DirectoryServer.entryExists(entryDN)) 332 String.valueOf(entryDN))); [all...] |
H A D | LocalBackendModifyDNOperation.java | 92 protected DN entryDN; field in class:LocalBackendModifyDNOperation 193 entryDN = getEntryDN(); 212 parentDN = entryDN.getParentDNInSuffix(); 216 if(newSuperior.isDescendantOf(entryDN)) 220 String.valueOf(entryDN), String.valueOf(newSuperior))); 229 appendErrorMessage(ERR_MODDN_NO_PARENT.get(String.valueOf(entryDN))); 242 String.valueOf(entryDN))); 251 String.valueOf(entryDN), 259 String.valueOf(entryDN), 270 final Lock currentLock = LockManager.lockWrite(entryDN); [all...] |
/forgerock/opendj2/src/server/org/opends/server/api/ |
H A D | AccessControlHandler.java | 120 * entry, or entryDN if entry is null. 125 * entryDN parameter 126 * @param entryDN 137 public boolean canDiscloseInformation(Entry entry, DN entryDN, argument 142 entry = DirectoryServer.getEntry(entryDN);
|
/forgerock/opendj2/src/server/org/opends/server/core/ |
H A D | DeleteOperationBasis.java | 65 private DN entryDN; field in class:DeleteOperationBasis 95 entryDN = null; 111 * @param entryDN The entry DN for this delete operation. 116 DN entryDN) 121 this.entryDN = entryDN; 123 rawEntryDN = ByteString.valueOf(entryDN.toString()); 141 entryDN = null; 150 if (entryDN == null) 152 entryDN 113 DeleteOperationBasis(ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/extensions/ |
H A D | DefaultEntryCache.java | 122 public boolean containsEntry(DN entryDN) argument 124 if (entryDN == null) { 129 if (entryCache.containsEntry(entryDN)) { 166 public Entry getEntry(DN entryDN) argument 170 Entry entry = entryCache.getEntry(entryDN); 191 public long getEntryID(DN entryDN) argument 195 long entryID = entryCache.getEntryID(entryDN); 214 DN entryDN = entryCache.getEntryDN(backend, entryID); 215 if (entryDN != null) 217 return entryDN; 268 removeEntry(DN entryDN) argument [all...] |
H A D | PasswordModifyExtendedOperation.java | 1158 * @param entryDN The DN of the user entry to retrieve. 1163 private Entry getEntryByDN(ExtendedOperation operation, DN entryDN) argument 1169 Entry userEntry = DirectoryServer.getEntry(entryDN); 1176 String.valueOf(entryDN))); 1179 operation.setMatchedDN(findMatchedDN(entryDN)); 1200 private DN findMatchedDN(DN entryDN) argument 1204 DN matchedDN = entryDN.getParentDNInSuffix();
|
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | WorkflowConfigurationTest.java | 247 * @param entryDN the DN of the entry targeted by the modify operation 253 String entryDN, 271 ByteString.valueOf(entryDN), 252 getModifyOperation( String entryDN, ModificationType modType, String attributeType, String attributeValue) argument
|
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/extensions/ |
H A D | EntryDNVirtualAttributeProviderTestCase.java | 58 * A set of test cases for the entryDN virtual attribute provider. 63 // The attribute type for the entryDN attribute. 88 * Retrieves a set of entry DNs for use in testing the entryDN virtual 91 * @return A set of entry DNs for use in testing the entryDN virtual 117 * the entry returned includes the entryDN operational attribute with the 120 * @param entryDN The DN of the entry to retrieve and verify. 125 public void testGetEntry(DN entryDN) argument 128 Entry e = DirectoryServer.getEntry(entryDN); 140 entryDN.toNormalizedString()))); 148 * the entryDN attribut 156 testSearchEmptyAttrs(DN entryDN) argument 174 testSearchNoAttrs(DN entryDN) argument 192 testSearchAllUserAttrs(DN entryDN) argument 210 testSearchAllOperationalAttrs(DN entryDN) argument 228 testSearchEntryDNAttr(DN entryDN) argument 246 testSearchExcludeEntryDNAttr(DN entryDN) argument 265 testSearchEntryDNAttrInMatchingFilter(DN entryDN) argument 299 testSearchEntryDNAttrInNonMatchingFilter(DN entryDN) argument 329 testSearchEntryDNAttrRealAttrsOnly(DN entryDN) argument 369 testSearchEntryDNAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | EntryUUIDVirtualAttributeProviderTestCase.java | 118 * @param entryDN The DN of the entry to retrieve and verify. 123 public void testGetEntry(DN entryDN) argument 127 getBytes(entryDN.toNormalizedString())).toString(); 129 Entry e = DirectoryServer.getEntry(entryDN); 195 * @param entryDN The DN of the entry to retrieve and verify. 200 public void testSearchEmptyAttrs(DN entryDN) argument 203 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, entryUUIDType); 213 * @param entryDN The DN of the entry to retrieve and verify. 218 public void testSearchNoAttrs(DN entryDN) argument 221 ExtensionTestUtils.testSearchNoAttrs(entryDN, entryUUIDTyp 236 testSearchAllUserAttrs(DN entryDN) argument 254 testSearchAllOperationalAttrs(DN entryDN) argument 272 testSearchEntryUUIDAttr(DN entryDN) argument 290 testSearchExcludeEntryUUIDAttr(DN entryDN) argument 309 testSearchEntryUUIDAttrInMatchingFilter(DN entryDN) argument 345 testSearchEntryUUIDAttrInNonMatchingFilter(DN entryDN) argument 374 testSearchEntryUUIDAttrRealAttrsOnly(DN entryDN) argument 414 testSearchEntryUUIDAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | GoverningStructureRuleVirtualAttributeProviderTestCase.java | 181 * @param entryDN The DN of the entry to retrieve and verify. 187 public void testGetEntry(DN entryDN,String ruleId) argument 190 Entry e = DirectoryServer.getEntry(entryDN); 213 * @param entryDN The DN of the entry to retrieve and verify. 218 public void testSearchEmptyAttrs(DN entryDN) argument 221 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, governingStructureRuleType); 231 * @param entryDN The DN of the entry to retrieve and verify. 236 public void testSearchNoAttrs(DN entryDN) argument 239 ExtensionTestUtils.testSearchNoAttrs(entryDN, governingStructureRuleType); 249 * @param entryDN Th 254 testSearchAllUserAttrs(DN entryDN) argument 272 testSearchAllOperationalAttrs(DN entryDN) argument 290 testSearchGoverningStructureRulesAttr(DN entryDN) argument 308 testSearchExcludeGovStructRuleAttr(DN entryDN) argument 327 testSearchGovStructRuleInMatchingFilter(DN entryDN,String oc) argument 360 testSearchGovStructRuleAttrInNonMatchingFilter(DN entryDN) argument 390 testSearchGovStructRuleAttrRealAttrsOnly(DN entryDN) argument 431 testSearchGovStructRuleAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | StructuralObjectClassVirtualAttributeProviderTestCase.java | 150 * @param entryDN The DN of the entry to retrieve and verify. 155 public void testGetEntry(DN entryDN) argument 158 Entry e = DirectoryServer.getEntry(entryDN); 181 * @param entryDN The DN of the entry to retrieve and verify. 186 public void testSearchEmptyAttrs(DN entryDN) argument 189 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, structuralObjectClassType); 199 * @param entryDN The DN of the entry to retrieve and verify. 204 public void testSearchNoAttrs(DN entryDN) argument 207 ExtensionTestUtils.testSearchNoAttrs(entryDN, structuralObjectClassType); 217 * @param entryDN Th 222 testSearchAllUserAttrs(DN entryDN) argument 240 testSearchAllOperationalAttrs(DN entryDN) argument 258 testSearchStructuralOCAttr(DN entryDN) argument 276 testSearchExcludeStructuralOCAttr(DN entryDN) argument 295 testSearchStructuralOCAttrInMatchingFilter(DN entryDN,String oc) argument 328 testSearchStructuralOCAttrInNonMatchingFilter(DN entryDN) argument 358 testSearchStructuralOCAttrRealAttrsOnly(DN entryDN) argument 399 testSearchStructuralOCAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | SubschemaSubentryVirtualAttributeProviderTestCase.java | 128 * @param entryDN The DN of the entry to retrieve and verify. 133 public void testGetEntry(DN entryDN) argument 136 Entry e = DirectoryServer.getEntry(entryDN); 159 * @param entryDN The DN of the entry to retrieve and verify. 164 public void testSearchEmptyAttrs(DN entryDN) argument 167 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, subschemaSubentryType); 177 * @param entryDN The DN of the entry to retrieve and verify. 182 public void testSearchNoAttrs(DN entryDN) argument 185 ExtensionTestUtils.testSearchNoAttrs(entryDN, subschemaSubentryType); 195 * @param entryDN Th 200 testSearchAllUserAttrs(DN entryDN) argument 218 testSearchAllOperationalAttrs(DN entryDN) argument 236 testSearchSubschemaSubentryAttr(DN entryDN) argument 254 testSearchExcludeSubschemaSubentryAttr(DN entryDN) argument 273 testSearchSubschemaSubentryAttrInMatchingFilter(DN entryDN) argument 306 testSearchSubschemaSubentryAttrInNonMatchingFilter(DN entryDN) argument 336 testSearchSubschemaSubentryAttrRealAttrsOnly(DN entryDN) argument 377 testSearchSubschemaSubentryAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | WorkflowConfigurationTest.java | 246 * @param entryDN the DN of the entry targeted by the modify operation 252 String entryDN, 270 ByteString.valueOf(entryDN), 251 getModifyOperation( String entryDN, ModificationType modType, String attributeType, String attributeValue) argument
|
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/extensions/ |
H A D | EntryDNVirtualAttributeProviderTestCase.java | 57 * A set of test cases for the entryDN virtual attribute provider. 62 // The attribute type for the entryDN attribute. 87 * Retrieves a set of entry DNs for use in testing the entryDN virtual 90 * @return A set of entry DNs for use in testing the entryDN virtual 116 * the entry returned includes the entryDN operational attribute with the 119 * @param entryDN The DN of the entry to retrieve and verify. 124 public void testGetEntry(DN entryDN) argument 127 Entry e = DirectoryServer.getEntry(entryDN); 139 entryDN.toNormalizedString()))); 147 * the entryDN attribut 155 testSearchEmptyAttrs(DN entryDN) argument 173 testSearchNoAttrs(DN entryDN) argument 191 testSearchAllUserAttrs(DN entryDN) argument 209 testSearchAllOperationalAttrs(DN entryDN) argument 227 testSearchEntryDNAttr(DN entryDN) argument 245 testSearchExcludeEntryDNAttr(DN entryDN) argument 264 testSearchEntryDNAttrInMatchingFilter(DN entryDN) argument 298 testSearchEntryDNAttrInNonMatchingFilter(DN entryDN) argument 328 testSearchEntryDNAttrRealAttrsOnly(DN entryDN) argument 368 testSearchEntryDNAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | EntryUUIDVirtualAttributeProviderTestCase.java | 117 * @param entryDN The DN of the entry to retrieve and verify. 122 public void testGetEntry(DN entryDN) argument 126 getBytes(entryDN.toNormalizedString())).toString(); 128 Entry e = DirectoryServer.getEntry(entryDN); 194 * @param entryDN The DN of the entry to retrieve and verify. 199 public void testSearchEmptyAttrs(DN entryDN) argument 202 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, entryUUIDType); 212 * @param entryDN The DN of the entry to retrieve and verify. 217 public void testSearchNoAttrs(DN entryDN) argument 220 ExtensionTestUtils.testSearchNoAttrs(entryDN, entryUUIDTyp 235 testSearchAllUserAttrs(DN entryDN) argument 253 testSearchAllOperationalAttrs(DN entryDN) argument 271 testSearchEntryUUIDAttr(DN entryDN) argument 289 testSearchExcludeEntryUUIDAttr(DN entryDN) argument 308 testSearchEntryUUIDAttrInMatchingFilter(DN entryDN) argument 344 testSearchEntryUUIDAttrInNonMatchingFilter(DN entryDN) argument 373 testSearchEntryUUIDAttrRealAttrsOnly(DN entryDN) argument 413 testSearchEntryUUIDAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | GoverningStructureRuleVirtualAttributeProviderTestCase.java | 180 * @param entryDN The DN of the entry to retrieve and verify. 186 public void testGetEntry(DN entryDN,String ruleId) argument 189 Entry e = DirectoryServer.getEntry(entryDN); 212 * @param entryDN The DN of the entry to retrieve and verify. 217 public void testSearchEmptyAttrs(DN entryDN) argument 220 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, governingStructureRuleType); 230 * @param entryDN The DN of the entry to retrieve and verify. 235 public void testSearchNoAttrs(DN entryDN) argument 238 ExtensionTestUtils.testSearchNoAttrs(entryDN, governingStructureRuleType); 248 * @param entryDN Th 253 testSearchAllUserAttrs(DN entryDN) argument 271 testSearchAllOperationalAttrs(DN entryDN) argument 289 testSearchGoverningStructureRulesAttr(DN entryDN) argument 307 testSearchExcludeGovStructRuleAttr(DN entryDN) argument 326 testSearchGovStructRuleInMatchingFilter(DN entryDN,String oc) argument 359 testSearchGovStructRuleAttrInNonMatchingFilter(DN entryDN) argument 389 testSearchGovStructRuleAttrRealAttrsOnly(DN entryDN) argument 430 testSearchGovStructRuleAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | StructuralObjectClassVirtualAttributeProviderTestCase.java | 149 * @param entryDN The DN of the entry to retrieve and verify. 154 public void testGetEntry(DN entryDN) argument 157 Entry e = DirectoryServer.getEntry(entryDN); 180 * @param entryDN The DN of the entry to retrieve and verify. 185 public void testSearchEmptyAttrs(DN entryDN) argument 188 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, structuralObjectClassType); 198 * @param entryDN The DN of the entry to retrieve and verify. 203 public void testSearchNoAttrs(DN entryDN) argument 206 ExtensionTestUtils.testSearchNoAttrs(entryDN, structuralObjectClassType); 216 * @param entryDN Th 221 testSearchAllUserAttrs(DN entryDN) argument 239 testSearchAllOperationalAttrs(DN entryDN) argument 257 testSearchStructuralOCAttr(DN entryDN) argument 275 testSearchExcludeStructuralOCAttr(DN entryDN) argument 294 testSearchStructuralOCAttrInMatchingFilter(DN entryDN,String oc) argument 327 testSearchStructuralOCAttrInNonMatchingFilter(DN entryDN) argument 357 testSearchStructuralOCAttrRealAttrsOnly(DN entryDN) argument 398 testSearchStructuralOCAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | SubschemaSubentryVirtualAttributeProviderTestCase.java | 127 * @param entryDN The DN of the entry to retrieve and verify. 132 public void testGetEntry(DN entryDN) argument 135 Entry e = DirectoryServer.getEntry(entryDN); 158 * @param entryDN The DN of the entry to retrieve and verify. 163 public void testSearchEmptyAttrs(DN entryDN) argument 166 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, subschemaSubentryType); 176 * @param entryDN The DN of the entry to retrieve and verify. 181 public void testSearchNoAttrs(DN entryDN) argument 184 ExtensionTestUtils.testSearchNoAttrs(entryDN, subschemaSubentryType); 194 * @param entryDN Th 199 testSearchAllUserAttrs(DN entryDN) argument 217 testSearchAllOperationalAttrs(DN entryDN) argument 235 testSearchSubschemaSubentryAttr(DN entryDN) argument 253 testSearchExcludeSubschemaSubentryAttr(DN entryDN) argument 272 testSearchSubschemaSubentryAttrInMatchingFilter(DN entryDN) argument 305 testSearchSubschemaSubentryAttrInNonMatchingFilter(DN entryDN) argument 335 testSearchSubschemaSubentryAttrRealAttrsOnly(DN entryDN) argument 376 testSearchSubschemaSubentryAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/workflowelement/localbackend/ |
H A D | LocalBackendDeleteOperation.java | 78 private DN entryDN; field in class:LocalBackendDeleteOperation 192 entryDN = getEntryDN(); 193 if (entryDN == null) 199 final Lock entryLock = LockManager.lockWrite(entryDN); 207 String.valueOf(entryDN))); 212 entry = backend.getEntry(entryDN); 217 .get(String.valueOf(entryDN))); 219 setMatchedDN(findMatchedDN(entryDN)); 249 .valueOf(entryDN))); 286 .get(String.valueOf(entryDN))); 372 findMatchedDN(DN entryDN) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/core/ |
H A D | DeleteOperationBasis.java | 76 private DN entryDN; field in class:DeleteOperationBasis 110 entryDN = null; 127 * @param entryDN The entry DN for this delete operation. 132 DN entryDN) 137 this.entryDN = entryDN; 139 rawEntryDN = ByteString.valueOf(entryDN.toString()); 160 entryDN = null; 170 if (entryDN == null) 172 entryDN 129 DeleteOperationBasis(ClientConnection clientConnection, long operationID, int messageID, List<Control> requestControls, DN entryDN) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/ |
H A D | DefaultEntryCache.java | 123 public boolean containsEntry(DN entryDN) argument 125 if (entryDN == null) { 130 if (entryCache.containsEntry(entryDN)) { 167 public Entry getEntry(DN entryDN) argument 171 Entry entry = entryCache.getEntry(entryDN); 192 public long getEntryID(DN entryDN) argument 196 long entryID = entryCache.getEntryID(entryDN); 215 DN entryDN = entryCache.getEntryDN(backend, entryID); 216 if (entryDN != null) 218 return entryDN; 269 removeEntry(DN entryDN) argument [all...] |
H A D | PasswordModifyExtendedOperation.java | 1232 * @param entryDN The DN of the user entry to retrieve. 1237 private Entry getEntryByDN(ExtendedOperation operation, DN entryDN) argument 1243 Entry userEntry = DirectoryServer.getEntry(entryDN); 1251 String.valueOf(entryDN))); 1254 DN parentDN = entryDN.getParentDNInSuffix();
|
/forgerock/opendj2.6.2/src/server/org/opends/server/plugins/ |
H A D | UniqueAttributePlugin.java | 304 DN entryDN = modifyOperation.getEntryDN(); 306 Set<DN> baseDNs = getBaseDNs(config, entryDN); 338 uniqueAttrValue2Dn.putIfAbsent(v, entryDN))==null) 341 conflictDN = getConflictingEntryDN(baseDNs, entryDN, config, 401 uniqueAttrValue2Dn.putIfAbsent(v, entryDN))==null) 404 conflictDN = getConflictingEntryDN(baseDNs, entryDN, 625 DN entryDN = modifyOperation.getEntryDN(); 627 Set<DN> baseDNs = getBaseDNs(config, entryDN); 655 conflictDN = getConflictingEntryDN(baseDNs, entryDN, config, 665 entryDN 843 getBaseDNs(UniqueAttributePluginCfg config, DN entryDN) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/workflowelement/localbackend/ |
H A D | LocalBackendAddOperation.java | 92 protected DN entryDN; field in class:LocalBackendAddOperation 182 entryDN = getEntryDN(); 183 if (entryDN == null) 200 DN parentDN = entryDN.getParentDNInSuffix(); 227 entryLock = LockManager.lockWrite(entryDN); 232 String.valueOf(entryDN))); 299 String.valueOf(entryDN), 315 String.valueOf(entryDN), 328 if (DirectoryServer.entryExists(entryDN)) 332 String.valueOf(entryDN))); [all...] |
H A D | LocalBackendModifyDNOperation.java | 92 protected DN entryDN; field in class:LocalBackendModifyDNOperation 193 entryDN = getEntryDN(); 212 parentDN = entryDN.getParentDNInSuffix(); 216 if(newSuperior.isDescendantOf(entryDN)) 220 String.valueOf(entryDN), String.valueOf(newSuperior))); 229 appendErrorMessage(ERR_MODDN_NO_PARENT.get(String.valueOf(entryDN))); 242 String.valueOf(entryDN))); 251 String.valueOf(entryDN), 259 String.valueOf(entryDN), 270 final Lock currentLock = LockManager.lockWrite(entryDN); [all...] |