/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/ |
H A D | PersistentSearch.java | 163 // Indicates whether entries returned should include the entry 184 * Indicates whether to include entry change notification 257 * Notifies the persistent searches that an entry has been added. 259 * @param entry 260 * The entry that was added. 263 * added the entry, or {@code -1} if there is no change 266 public void processAdd(Entry entry, long changeNumber) argument 274 // Make sure that the entry is within our target scope. 278 if (!baseDN.equals(entry.getDN())) 284 if (!baseDN.equals(entry 382 processDelete(Entry entry, long changeNumber) argument 495 processModify(Entry entry, long changeNumber) argument 514 processModify(Entry entry, long changeNumber, Entry oldEntry) argument 630 processModifyDN(Entry entry, long changeNumber, DN oldDN) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/ldap/ |
H A D | EntryStringConverter.java | 25 * An entry converter that extracts a single string value from the entry. 30 public String convert(Entry entry, String[] requestedAttributes) { argument 32 return entry.getAttribute(requestedAttributes[0]).firstValueAsString();
|
/forgerock/opendj-v3/opendj-config/src/test/java/org/forgerock/opendj/config/ |
H A D | AdminTestCase.java | 51 for (Entry entry : entries) { 52 when(configRepository.getEntry(entry.getName())).thenReturn(entry); 53 when(configRepository.hasEntry(entry.getName())).thenReturn(true); 58 /** Returns the name used for the provided entry (the value of the cn attribute). */ 59 protected final String entryName(final Entry entry) { argument 60 return entry.getName().rdn().getFirstAVA().getAttributeValue().toString(); 63 /** Gets the named parent configuration corresponding to the provided entry. */ 64 protected final TestParentCfg getParentCfg(final Entry entry, final ServerManagementContext serverContext) argument 66 return getParentCfg(entryName(entry), serverContex [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/blacklist/ |
H A D | CachingBlacklist.java | 53 * Constructs the caching entry blacklist with the given delegate blacklist and maximum cache size. 64 public void blacklist(T entry) throws BlacklistException { argument 65 if (cache.put(entry.getStableStorageID(), entry.getBlacklistExpiryTime() + purgeDelayMs) == null) { 67 delegate.blacklist(entry); 72 public boolean isBlacklisted(T entry) throws BlacklistException { argument 73 final String key = entry.getStableStorageID(); 81 boolean isBlacklisted = delegate.isBlacklisted(entry); 84 cache.put(key, entry.getBlacklistExpiryTime() + purgeDelayMs);
|
H A D | NoOpBlacklist.java | 33 public void blacklist(T entry) throws BlacklistException { argument 38 public boolean isBlacklisted(T entry) throws BlacklistException { argument 44 DEBUG.message("NoOpBlacklist: Ignoring entry blacklist listener {} - blacklisting disabled", listener);
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/ldap/ |
H A D | EntryStringConverter.java | 25 * An entry converter that extracts a single string value from the entry. 30 public String convert(Entry entry, String[] requestedAttributes) { argument 32 return entry.getAttribute(requestedAttributes[0]).firstValueAsString();
|
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/util/ |
H A D | TestDeleteChangeRecordEntry.java | 77 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 79 Assert.assertEquals(entry.getDN(), DN.nullDN()); 93 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(testDN1); 95 Assert.assertEquals(entry.getDN(), testDN2); 106 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 108 Assert.assertEquals(entry.getChangeOperationType(),
|
H A D | TestAddChangeRecordEntry.java | 98 AddChangeRecordEntry entry = new AddChangeRecordEntry(DN.nullDN(), 101 Assert.assertEquals(entry.getDN(), DN.nullDN()); 115 AddChangeRecordEntry entry = new AddChangeRecordEntry(testDN1, 118 Assert.assertEquals(entry.getDN(), testDN2); 129 AddChangeRecordEntry entry = new AddChangeRecordEntry(DN.nullDN(), attributes); 131 Assert.assertEquals(entry.getChangeOperationType(), 144 AddChangeRecordEntry entry = new AddChangeRecordEntry(DN.nullDN(), empty); 146 List<Attribute> attrs = entry.getAttributes(); 158 AddChangeRecordEntry entry = new AddChangeRecordEntry(DN.nullDN(), attributes); 160 List<Attribute> attrs = entry [all...] |
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/util/ |
H A D | TestDeleteChangeRecordEntry.java | 76 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 78 Assert.assertEquals(entry.getDN(), DN.nullDN()); 92 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(testDN1); 94 Assert.assertEquals(entry.getDN(), testDN2); 105 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 107 Assert.assertEquals(entry.getChangeOperationType(),
|
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/util/ |
H A D | TestDeleteChangeRecordEntry.java | 77 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 79 Assert.assertEquals(entry.getDN(), DN.nullDN()); 93 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(testDN1); 95 Assert.assertEquals(entry.getDN(), testDN2); 106 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 108 Assert.assertEquals(entry.getChangeOperationType(),
|
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/util/ |
H A D | TestDeleteChangeRecordEntry.java | 76 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 78 Assert.assertEquals(entry.getDN(), DN.nullDN()); 92 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(testDN1); 94 Assert.assertEquals(entry.getDN(), testDN2); 105 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 107 Assert.assertEquals(entry.getChangeOperationType(),
|
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/util/ |
H A D | TestDeleteChangeRecordEntry.java | 77 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 79 Assert.assertEquals(entry.getDN(), DN.nullDN()); 93 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(testDN1); 95 Assert.assertEquals(entry.getDN(), testDN2); 106 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.nullDN()); 108 Assert.assertEquals(entry.getChangeOperationType(),
|
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/ |
H A D | TestDeleteChangeRecordEntry.java | 77 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.rootDN()); 79 Assert.assertEquals(entry.getDN(), DN.rootDN()); 93 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(testDN1); 95 Assert.assertEquals(entry.getDN(), testDN2); 106 DeleteChangeRecordEntry entry = new DeleteChangeRecordEntry(DN.rootDN()); 108 Assert.assertEquals(entry.getChangeOperationType(),
|
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/utils/ |
H A D | LdapTokenAttributeConversionTest.java | 61 Entry entry = mock(Entry.class); 62 given(entry.getAttribute(anyString())).willReturn(null); 65 LdapTokenAttributeConversion.stripObjectClass(entry); 68 verify(entry, times(0)).removeAttribute(anyString(), any()); 74 Entry entry = mock(Entry.class); 76 given(entry.getAttribute(anyString())).willReturn(attribute); 82 LdapTokenAttributeConversion.stripObjectClass(entry); 85 verify(entry).removeAttribute(description); 91 Entry entry = mock(Entry.class); 93 given(entry [all...] |
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ |
H A D | ModifyConflictTest.java | 85 Entry entry = initializeEntry(); 87 // load historical from the entry 88 EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry); 96 testModify(entry, hist, DESCRIPTION, ModificationType.REPLACE, 104 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, 113 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, 121 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, "new value", 136 Entry entry = initializeEntry(); 138 // load historical from the entry 139 EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry); 1463 testHistoricalAndFake( EntryHistorical hist, Entry entry) argument 1519 testModify(Entry entry, EntryHistorical hist, String attrName, ModificationType modType, String value, int date, boolean keepChangeResult) argument 1531 testModify(Entry entry, EntryHistorical hist, String attrName, Modification mod, int date, boolean keepChangeResult) argument 1562 replayModifies( Entry entry, EntryHistorical hist, List<Modification> mods, int date) argument 1578 replayModify( Entry entry, EntryHistorical hist, Modification mod, int date) argument [all...] |
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ |
H A D | ModifyConflictTest.java | 85 Entry entry = initializeEntry(); 87 // load historical from the entry 88 EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry); 96 testModify(entry, hist, DESCRIPTION, ModificationType.REPLACE, 104 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, 113 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, 121 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, "new value", 136 Entry entry = initializeEntry(); 138 // load historical from the entry 139 EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry); 1463 testHistoricalAndFake( EntryHistorical hist, Entry entry) argument 1519 testModify(Entry entry, EntryHistorical hist, String attrName, ModificationType modType, String value, int date, boolean keepChangeResult) argument 1531 testModify(Entry entry, EntryHistorical hist, String attrName, Modification mod, int date, boolean keepChangeResult) argument 1562 replayModifies( Entry entry, EntryHistorical hist, List<Modification> mods, int date) argument 1578 replayModify( Entry entry, EntryHistorical hist, Modification mod, int date) argument [all...] |
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ |
H A D | ModifyConflictTest.java | 85 Entry entry = initializeEntry(); 87 // load historical from the entry 88 EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry); 96 testModify(entry, hist, DESCRIPTION, ModificationType.REPLACE, 104 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, 113 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, 121 testModify(entry, hist, DESCRIPTION, ModificationType.ADD, "new value", 136 Entry entry = initializeEntry(); 138 // load historical from the entry 139 EntryHistorical hist = EntryHistorical.newInstanceFromEntry(entry); 1463 testHistoricalAndFake( EntryHistorical hist, Entry entry) argument 1519 testModify(Entry entry, EntryHistorical hist, String attrName, ModificationType modType, String value, int date, boolean keepChangeResult) argument 1531 testModify(Entry entry, EntryHistorical hist, String attrName, Modification mod, int date, boolean keepChangeResult) argument 1562 replayModifies( Entry entry, EntryHistorical hist, List<Modification> mods, int date) argument 1578 replayModify( Entry entry, EntryHistorical hist, Modification mod, int date) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/ |
H A D | PasswordExpirationTimeVirtualAttributeProvider.java | 94 public Set<AttributeValue> getValues(Entry entry, argument 98 if (!entry.isSubentry() && !entry.isLDAPSubentry()) 100 long expirationTime = getPasswordExpirationTime(entry); 147 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 150 if (entry.isSubentry() || entry.isLDAPSubentry() 151 || (getPasswordExpirationTime(entry) == -1)) 162 * @param entry LDAP entry 165 getPasswordExpirationTime(Entry entry) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/ |
H A D | PasswordExpirationTimeVirtualAttributeProvider.java | 94 public Set<AttributeValue> getValues(Entry entry, argument 98 if (!entry.isSubentry() && !entry.isLDAPSubentry()) 100 long expirationTime = getPasswordExpirationTime(entry); 147 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 150 if (entry.isSubentry() || entry.isLDAPSubentry() 151 || (getPasswordExpirationTime(entry) == -1)) 162 * @param entry LDAP entry 165 getPasswordExpirationTime(Entry entry) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/ |
H A D | PasswordExpirationTimeVirtualAttributeProvider.java | 94 public Set<AttributeValue> getValues(Entry entry, argument 98 if (!entry.isSubentry() && !entry.isLDAPSubentry()) 100 long expirationTime = getPasswordExpirationTime(entry); 147 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 150 if (entry.isSubentry() || entry.isLDAPSubentry() 151 || (getPasswordExpirationTime(entry) == -1)) 162 * @param entry LDAP entry 165 getPasswordExpirationTime(Entry entry) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/types/ |
H A D | VirtualAttribute.java | 58 /** The entry with which this virtual attribute is associated. */ 59 private final Entry entry; field in class:VirtualAttribute 72 * @param entry 73 * The entry in which this virtual attribute exists. 78 public VirtualAttribute(AttributeType attributeType, Entry entry, argument 82 this.entry = entry; 90 return provider.approximatelyEqualTo(entry, rule, assertionValue); 96 return provider.hasValue(entry, rule, value); 102 return provider.hasAllValues(entry, rul [all...] |
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | AddOperationTestCase.java | 105 Entry entry = TestCaseUtils.makeEntry( 120 null, entry.getDN(), entry.getObjectClasses(), 121 entry.getUserAttributes(), 122 entry.getOperationalAttributes()), 124 noControls, entry.getDN(), entry.getObjectClasses(), 125 entry.getUserAttributes(), 126 entry.getOperationalAttributes()), 227 Entry entry [all...] |
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | AddOperationTestCase.java | 105 Entry entry = TestCaseUtils.makeEntry( 120 null, entry.getDN(), entry.getObjectClasses(), 121 entry.getUserAttributes(), 122 entry.getOperationalAttributes()), 124 noControls, entry.getDN(), entry.getObjectClasses(), 125 entry.getUserAttributes(), 126 entry.getOperationalAttributes()), 227 Entry entry [all...] |
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | AddOperationTestCase.java | 105 Entry entry = TestCaseUtils.makeEntry( 120 null, entry.getDN(), entry.getObjectClasses(), 121 entry.getUserAttributes(), 122 entry.getOperationalAttributes()), 124 noControls, entry.getDN(), entry.getObjectClasses(), 125 entry.getUserAttributes(), 126 entry.getOperationalAttributes()), 227 Entry entry [all...] |
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/utils/ |
H A D | LdapTokenAttributeConversionTest.java | 59 Entry entry = mock(Entry.class); 60 given(entry.getAttribute(anyString())).willReturn(null); 63 LdapTokenAttributeConversion.stripObjectClass(entry); 66 verify(entry, times(0)).removeAttribute(anyString(), any()); 72 Entry entry = mock(Entry.class); 74 given(entry.getAttribute(anyString())).willReturn(attribute); 80 LdapTokenAttributeConversion.stripObjectClass(entry); 83 verify(entry).removeAttribute(description); 89 Entry entry = mock(Entry.class); 91 given(entry [all...] |