/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/controls/ |
H A D | PasswordPolicyControlTestCase.java | 702 * <userDN> <entryDN> <changeAfterReset> 730 * @param entryDN 738 public void testModifyMustChange(String userDN, String entryDN, boolean changeAfterReset) argument 796 new ModifyRequestProtocolOp(ByteString.valueOf(entryDN), mods); 877 String entryDN = "uid=test.user,o=test"; 947 new ModifyRequestProtocolOp(ByteString.valueOf(entryDN), mods);
|
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/ |
H A D | HasSubordinatesVirtualAttributeProviderTestCase.java | 208 * @param entryDN The DN of the entry to retrieve and verify. 214 public void testGetEntry(DN entryDN, boolean hasSubs) argument 217 Entry e = DirectoryServer.getEntry(entryDN); 241 * @param entryDN The DN of the entry to retrieve and verify. 246 public void testSearchEmptyAttrs(DN entryDN, boolean hasSubs) argument 249 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, hasSubordinatesType); 258 * @param entryDN The DN of the entry to retrieve and verify. 263 public void testSearchNoAttrs(DN entryDN, boolean hasSubs) argument 266 ExtensionTestUtils.testSearchNoAttrs(entryDN, hasSubordinatesType); 276 * @param entryDN Th 281 testSearchAllUserAttrs(DN entryDN, boolean hasSubs) argument 299 testSearchAllOperationalAttrs(DN entryDN, boolean hasSubs) argument 317 testSearchhasSubordinatesAttr(DN entryDN, boolean hasSubs) argument 335 testSearchExcludehasSubordinatesAttr(DN entryDN, boolean hasSubs) argument 354 testSearchhasSubordinatesAttrInMatchingFilter(DN entryDN, boolean hasSubs) argument 387 testSearchhasSubordinatesAttrInNonMatchingFilter(DN entryDN, boolean hasSubs) argument 416 testSearchhasSubordinatesAttrRealAttrsOnly(DN entryDN, boolean hasSubs) argument 456 testSearchhasSubordinatesAttrVirtualAttrsOnly(DN entryDN, boolean hasSubs) argument [all...] |
H A D | NumSubordinatesVirtualAttributeProviderTestCase.java | 209 * @param entryDN The DN of the entry to retrieve and verify. 215 public void testGetEntry(DN entryDN, int count) argument 218 Entry e = DirectoryServer.getEntry(entryDN); 242 * @param entryDN The DN of the entry to retrieve and verify. 247 public void testSearchEmptyAttrs(DN entryDN, int count) argument 250 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, numSubordinatesType); 259 * @param entryDN The DN of the entry to retrieve and verify. 264 public void testSearchNoAttrs(DN entryDN, int count) argument 267 ExtensionTestUtils.testSearchNoAttrs(entryDN, numSubordinatesType); 277 * @param entryDN Th 282 testSearchAllUserAttrs(DN entryDN, int count) argument 300 testSearchAllOperationalAttrs(DN entryDN, int count) argument 318 testSearchnumSubordinatesAttr(DN entryDN, int count) argument 336 testSearchExcludenumSubordinatesAttr(DN entryDN, int count) argument 355 testSearchnumSubordinatesAttrInMatchingFilter(DN entryDN, int count) argument 389 testSearchnumSubordinatesAttrInNonMatchingFilter(DN entryDN, int count) argument 418 testSearchnumSubordinatesAttrRealAttrsOnly(DN entryDN, int count) argument 458 testSearchnumSubordinatesAttrVirtualAttrsOnly(DN entryDN, int count) argument 496 testSearchnumSubordinatesAttrInGTEFilter(DN entryDN, int count) argument 528 testSearchnumSubordinatesAttrInLTEFilter(DN entryDN, int count) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/ldap/ |
H A D | ModifyDNRequestProtocolOp.java | 55 private ByteString entryDN; field in class:ModifyDNRequestProtocolOp 71 * @param entryDN The current entry DN for this modify DN request. 75 public ModifyDNRequestProtocolOp(ByteString entryDN, argument 78 this.entryDN = entryDN; 89 * @param entryDN The current entry DN for this modify DN request. 94 public ModifyDNRequestProtocolOp(ByteString entryDN, argument 98 this.entryDN = entryDN; 113 return entryDN; [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/types/ |
H A D | LockManager.java | 176 * @param entryDN The DN of the entry for which to obtain the read 182 private static Lock tryLockRead(DN entryDN) argument 190 lockTable.putIfAbsent(entryDN, entryLock); 214 lockTable.putIfAbsent(entryDN, entryLock); 268 * @param entryDN The DN of the entry for which to obtain the read 274 public static Lock lockRead(DN entryDN) argument 276 return lockRead(entryDN, DEFAULT_TIMEOUT); 288 * @param entryDN The DN of the entry for which to obtain the read 297 private static Lock lockRead(DN entryDN, long timeout) argument 300 Lock readLock = tryLockRead(entryDN); 396 tryLockWrite(DN entryDN) argument 487 lockWrite(DN entryDN) argument 508 lockWrite(DN entryDN, long timeout) argument 602 unlock(DN entryDN, Lock lock) argument 653 destroyLock(DN entryDN) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/workflowelement/localbackend/ |
H A D | LocalBackendDeleteOperation.java | 89 protected DN entryDN; field in class:LocalBackendDeleteOperation 158 entryDN = getEntryDN(); 159 if (entryDN == null){ 164 final Lock entryLock = LockManager.lockWrite(entryDN); 169 String.valueOf(entryDN))); 178 entry = backend.getEntry(entryDN); 183 String.valueOf(entryDN))); 187 DN parentDN = entryDN.getParentDNInSuffix(); 259 .get(String.valueOf(entryDN))); 297 String.valueOf(entryDN))); [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/ldap/ |
H A D | ModifyDNRequestProtocolOp.java | 54 private ByteString entryDN; field in class:ModifyDNRequestProtocolOp 70 * @param entryDN The current entry DN for this modify DN request. 74 public ModifyDNRequestProtocolOp(ByteString entryDN, argument 77 this.entryDN = entryDN; 88 * @param entryDN The current entry DN for this modify DN request. 93 public ModifyDNRequestProtocolOp(ByteString entryDN, argument 97 this.entryDN = entryDN; 112 return entryDN; [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/types/ |
H A D | LockManager.java | 175 * @param entryDN The DN of the entry for which to obtain the read 181 private static Lock tryLockRead(DN entryDN) argument 189 lockTable.putIfAbsent(entryDN, entryLock); 213 lockTable.putIfAbsent(entryDN, entryLock); 267 * @param entryDN The DN of the entry for which to obtain the read 273 public static Lock lockRead(DN entryDN) argument 275 return lockRead(entryDN, DEFAULT_TIMEOUT); 287 * @param entryDN The DN of the entry for which to obtain the read 296 private static Lock lockRead(DN entryDN, long timeout) argument 299 Lock readLock = tryLockRead(entryDN); 395 tryLockWrite(DN entryDN) argument 486 lockWrite(DN entryDN) argument 507 lockWrite(DN entryDN, long timeout) argument 601 unlock(DN entryDN, Lock lock) argument 652 destroyLock(DN entryDN) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/workflowelement/localbackend/ |
H A D | LocalBackendCompareOperation.java | 81 private DN entryDN; field in class:LocalBackendCompareOperation 169 entryDN = getEntryDN(); 170 if (entryDN == null) 178 if (DirectoryServer.getConfigHandler().handlesEntry(entryDN) 191 final Lock readLock = LockManager.lockRead(entryDN); 199 String.valueOf(entryDN))); 206 entry = DirectoryServer.getEntry(entryDN); 211 .valueOf(entryDN))); 214 setMatchedDN(findMatchedDN(entryDN)); 225 setResultCodeAndMessageNoInfoDisclosure(entry, entryDN, 354 setResultCodeAndMessageNoInfoDisclosure(Entry entry, DN entryDN, ResultCode realResultCode, Message realMessage) argument 362 findMatchedDN(DN entryDN) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/sdk/ |
H A D | AMCallBack.java | 127 * @param entryDN 138 public Map getAttributes(SSOToken token, String entryDN, Set attrNames) { argument 147 * @param entryDN 181 public Map preProcessCreate(SSOToken token, String entryDN, Map attributes, argument 191 * @param entryDN 231 public Map preProcessModify(SSOToken token, String entryDN, argument 244 * @param entryDN 275 public void preProcessDelete(SSOToken token, String entryDN, argument 285 * @param entryDN 312 public void postProcessCreate(SSOToken token, String entryDN, argument 351 postProcessModify(SSOToken token, String entryDN, Map oldAttributes, Map newAttributes, int objectType) argument 393 postProcessDelete(SSOToken token, String entryDN, Map attributes, boolean softDelete, int objectType) argument 433 preProcessAddUser(SSOToken token, String entryDN, Set members, int objectType) argument 464 postProcessAddUser(SSOToken token, String entryDN, Set members, int objectType) argument 502 preProcessRemoveUser(SSOToken token, String entryDN, Set members, int objectType) argument 533 postProcessRemoveUser(SSOToken token, String entryDN, Set members, int objectType) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/sdk/common/ |
H A D | CacheBlock.java | 141 public CacheBlock(String entryDN, boolean validEntry) { argument 142 super(entryDN, validEntry); 145 public CacheBlock(String entryDN, String orgDN, boolean validEntry) { argument 146 super(entryDN, orgDN, validEntry);
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/ |
H A D | SMSMigration70.java | 55 public static void migrate63To70(SSOToken token, String entryDN) { argument 71 entryDN = entryDN.toLowerCase(); 72 addIdRepoAMSDKPlugin(token, entryDN); 75 Map addMap = getOrgAttributes(token, entryDN); 77 + entryDN; 83 migrateToRealms(token, entryDN); 128 public static void migrateToRealms(SSOToken token, String entryDN) { argument 132 token, entryDN); 144 + (String) subOrgs.next() + SMSEntry.COMMA + entryDN; [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/ |
H A D | ModifyDNRequestProtocolOp.java | 51 private ByteString entryDN; field in class:ModifyDNRequestProtocolOp 67 * @param entryDN The current entry DN for this modify DN request. 71 public ModifyDNRequestProtocolOp(ByteString entryDN, argument 74 this.entryDN = entryDN; 85 * @param entryDN The current entry DN for this modify DN request. 90 public ModifyDNRequestProtocolOp(ByteString entryDN, argument 94 this.entryDN = entryDN; 109 return entryDN; [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/authorization/dseecompat/ |
H A D | TargetTestCase.java | 396 public void matchingPatterns(String pattern, String entryDN) argument 400 boolean match = patternDN.matchesDN(DN.valueOf(entryDN)); 401 assertTrue(match, pattern + " did not match " + entryDN); 406 public void nonMatchingPatterns(String pattern, String entryDN) argument 410 boolean match = patternDN.matchesDN(DN.valueOf(entryDN)); 411 assertFalse(match, pattern + " should not have matched " + entryDN); 426 public void applicableTargets(String aciDN, String aciString, String entryDN) argument 432 DN.valueOf(entryDN)); 434 " did not apply to " + entryDN); 440 String entryDN) 439 nonApplicableTargets(String aciDN, String aciString, String entryDN) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/extensions/ |
H A D | HasSubordinatesVirtualAttributeProviderTestCase.java | 211 * @param entryDN The DN of the entry to retrieve and verify. 217 public void testGetEntry(DN entryDN, boolean hasSubs) argument 220 Entry e = DirectoryServer.getEntry(entryDN); 240 * @param entryDN The DN of the entry to retrieve and verify. 245 public void testSearchEmptyAttrs(DN entryDN, boolean hasSubs) argument 248 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, hasSubordinatesType); 257 * @param entryDN The DN of the entry to retrieve and verify. 262 public void testSearchNoAttrs(DN entryDN, boolean hasSubs) argument 265 ExtensionTestUtils.testSearchNoAttrs(entryDN, hasSubordinatesType); 275 * @param entryDN Th 280 testSearchAllUserAttrs(DN entryDN, boolean hasSubs) argument 298 testSearchAllOperationalAttrs(DN entryDN, boolean hasSubs) argument 316 testSearchhasSubordinatesAttr(DN entryDN, boolean hasSubs) argument 334 testSearchExcludehasSubordinatesAttr(DN entryDN, boolean hasSubs) argument 353 testSearchhasSubordinatesAttrInMatchingFilter(DN entryDN, boolean hasSubs) argument 376 testSearchhasSubordinatesAttrInNonMatchingFilter(DN entryDN, boolean hasSubs) argument 397 testSearchhasSubordinatesAttrRealAttrsOnly(DN entryDN, boolean hasSubs) argument 424 testSearchhasSubordinatesAttrVirtualAttrsOnly(DN entryDN, boolean hasSubs) argument [all...] |
H A D | NumSubordinatesVirtualAttributeProviderTestCase.java | 209 * @param entryDN The DN of the entry to retrieve and verify. 215 public void testGetEntry(DN entryDN, int count) argument 218 Entry e = DirectoryServer.getEntry(entryDN); 238 * @param entryDN The DN of the entry to retrieve and verify. 243 public void testSearchEmptyAttrs(DN entryDN, int count) argument 246 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, numSubordinatesType); 255 * @param entryDN The DN of the entry to retrieve and verify. 260 public void testSearchNoAttrs(DN entryDN, int count) argument 263 ExtensionTestUtils.testSearchNoAttrs(entryDN, numSubordinatesType); 273 * @param entryDN Th 278 testSearchAllUserAttrs(DN entryDN, int count) argument 296 testSearchAllOperationalAttrs(DN entryDN, int count) argument 314 testSearchnumSubordinatesAttr(DN entryDN, int count) argument 332 testSearchExcludenumSubordinatesAttr(DN entryDN, int count) argument 351 testSearchnumSubordinatesAttrInMatchingFilter(DN entryDN, int count) argument 370 testSearchnumSubordinatesAttrInNonMatchingFilter(DN entryDN, int count) argument 391 testSearchnumSubordinatesAttrRealAttrsOnly(DN entryDN, int count) argument 411 testSearchnumSubordinatesAttrVirtualAttrsOnly(DN entryDN, int count) argument 431 testSearchnumSubordinatesAttrInGTEFilter(DN entryDN, int count) argument 451 testSearchnumSubordinatesAttrInLTEFilter(DN entryDN, int count) argument [all...] |
H A D | StructuralObjectClassVirtualAttributeProviderTestCase.java | 140 * @param entryDN The DN of the entry to retrieve and verify. 145 public void testGetEntry(DN entryDN) argument 148 Entry e = DirectoryServer.getEntry(entryDN); 170 * @param entryDN The DN of the entry to retrieve and verify. 175 public void testSearchEmptyAttrs(DN entryDN) argument 178 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, structuralObjectClassType); 188 * @param entryDN The DN of the entry to retrieve and verify. 193 public void testSearchNoAttrs(DN entryDN) argument 196 ExtensionTestUtils.testSearchNoAttrs(entryDN, structuralObjectClassType); 206 * @param entryDN Th 211 testSearchAllUserAttrs(DN entryDN) argument 229 testSearchAllOperationalAttrs(DN entryDN) argument 247 testSearchStructuralOCAttr(DN entryDN) argument 265 testSearchExcludeStructuralOCAttr(DN entryDN) argument 284 testSearchStructuralOCAttrInMatchingFilter(DN entryDN,String oc) argument 309 testSearchStructuralOCAttrInNonMatchingFilter(DN entryDN) argument 331 testSearchStructuralOCAttrRealAttrsOnly(DN entryDN) argument 358 testSearchStructuralOCAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
H A D | SubschemaSubentryVirtualAttributeProviderTestCase.java | 118 * @param entryDN The DN of the entry to retrieve and verify. 123 public void testGetEntry(DN entryDN) argument 126 Entry e = DirectoryServer.getEntry(entryDN); 148 * @param entryDN The DN of the entry to retrieve and verify. 153 public void testSearchEmptyAttrs(DN entryDN) argument 156 ExtensionTestUtils.testSearchEmptyAttrs(entryDN, subschemaSubentryType); 166 * @param entryDN The DN of the entry to retrieve and verify. 171 public void testSearchNoAttrs(DN entryDN) argument 174 ExtensionTestUtils.testSearchNoAttrs(entryDN, subschemaSubentryType); 184 * @param entryDN Th 189 testSearchAllUserAttrs(DN entryDN) argument 207 testSearchAllOperationalAttrs(DN entryDN) argument 225 testSearchSubschemaSubentryAttr(DN entryDN) argument 243 testSearchExcludeSubschemaSubentryAttr(DN entryDN) argument 262 testSearchSubschemaSubentryAttrInMatchingFilter(DN entryDN) argument 287 testSearchSubschemaSubentryAttrInNonMatchingFilter(DN entryDN) argument 309 testSearchSubschemaSubentryAttrRealAttrsOnly(DN entryDN) argument 336 testSearchSubschemaSubentryAttrVirtualAttrsOnly(DN entryDN) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/iplanet/am/sdk/ |
H A D | AMCallBack.java | 127 * @param entryDN 138 public Map getAttributes(SSOToken token, String entryDN, Set attrNames) { argument 147 * @param entryDN 181 public Map preProcessCreate(SSOToken token, String entryDN, Map attributes, argument 191 * @param entryDN 231 public Map preProcessModify(SSOToken token, String entryDN, argument 244 * @param entryDN 275 public void preProcessDelete(SSOToken token, String entryDN, argument 285 * @param entryDN 312 public void postProcessCreate(SSOToken token, String entryDN, argument 351 postProcessModify(SSOToken token, String entryDN, Map oldAttributes, Map newAttributes, int objectType) argument 393 postProcessDelete(SSOToken token, String entryDN, Map attributes, boolean softDelete, int objectType) argument 433 preProcessAddUser(SSOToken token, String entryDN, Set members, int objectType) argument 464 postProcessAddUser(SSOToken token, String entryDN, Set members, int objectType) argument 502 preProcessRemoveUser(SSOToken token, String entryDN, Set members, int objectType) argument 533 postProcessRemoveUser(SSOToken token, String entryDN, Set members, int objectType) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idm/common/ |
H A D | IdCacheBlock.java | 120 public IdCacheBlock(String entryDN, boolean validEntry) { argument 121 super(entryDN, validEntry); 124 public IdCacheBlock(String entryDN, String orgDN, boolean validEntry) { argument 125 super(entryDN, orgDN, validEntry);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/ |
H A D | SMSMigration70.java | 55 public static void migrate63To70(SSOToken token, String entryDN) { argument 71 entryDN = entryDN.toLowerCase(); 72 addIdRepoAMSDKPlugin(token, entryDN); 75 Map addMap = getOrgAttributes(token, entryDN); 77 + entryDN; 83 migrateToRealms(token, entryDN); 128 public static void migrateToRealms(SSOToken token, String entryDN) { argument 132 token, entryDN); 144 + (String) subOrgs.next() + SMSEntry.COMMA + entryDN; [all...] |
/forgerock/opendj-b2.6/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/opendj-b2.6/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/opendj-b2.6/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...] |