/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/ |
H A D | NumSubordinatesVirtualAttributeProvider.java | 106 public Set<AttributeValue> getValues(Entry entry, argument 109 Backend backend = DirectoryServer.getBackend(entry.getDN()); 113 long count = backend.numSubordinates(entry.getDN(), false); 139 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 141 Backend backend = DirectoryServer.getBackend(entry.getDN()); 145 return backend.numSubordinates(entry.getDN(), false) >= 0; 164 public boolean hasValue(Entry entry, VirtualAttributeRule rule, argument 167 Backend backend = DirectoryServer.getBackend(entry.getDN()); 171 long count = backend.numSubordinates(entry.getDN(), false); 196 public ConditionResult matchesSubstring(Entry entry, argument 212 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/extensions/ |
H A D | NumSubordinatesVirtualAttributeProvider.java | 78 public Set<AttributeValue> getValues(Entry entry, argument 81 Backend backend = DirectoryServer.getBackend(entry.getDN()); 85 long count = backend.numSubordinates(entry.getDN(), false); 107 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 109 Backend backend = DirectoryServer.getBackend(entry.getDN()); 113 return backend.numSubordinates(entry.getDN(), false) >= 0; 128 public boolean hasValue(Entry entry, VirtualAttributeRule rule, argument 131 Backend backend = DirectoryServer.getBackend(entry.getDN()); 135 long count = backend.numSubordinates(entry.getDN(), false); 152 public ConditionResult matchesSubstring(Entry entry, argument 164 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/ |
H A D | NumSubordinatesVirtualAttributeProvider.java | 106 public Set<AttributeValue> getValues(Entry entry, argument 109 Backend backend = DirectoryServer.getBackend(entry.getDN()); 113 long count = backend.numSubordinates(entry.getDN(), false); 139 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 141 Backend backend = DirectoryServer.getBackend(entry.getDN()); 145 return backend.numSubordinates(entry.getDN(), false) >= 0; 164 public boolean hasValue(Entry entry, VirtualAttributeRule rule, argument 167 Backend backend = DirectoryServer.getBackend(entry.getDN()); 171 long count = backend.numSubordinates(entry.getDN(), false); 196 public ConditionResult matchesSubstring(Entry entry, argument 212 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/ |
H A D | NumSubordinatesVirtualAttributeProvider.java | 106 public Set<AttributeValue> getValues(Entry entry, argument 109 Backend backend = DirectoryServer.getBackend(entry.getDN()); 113 long count = backend.numSubordinates(entry.getDN(), false); 139 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 141 Backend backend = DirectoryServer.getBackend(entry.getDN()); 145 return backend.numSubordinates(entry.getDN(), false) >= 0; 164 public boolean hasValue(Entry entry, VirtualAttributeRule rule, argument 167 Backend backend = DirectoryServer.getBackend(entry.getDN()); 171 long count = backend.numSubordinates(entry.getDN(), false); 196 public ConditionResult matchesSubstring(Entry entry, argument 212 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/extensions/ |
H A D | NumSubordinatesVirtualAttributeProvider.java | 78 public Set<AttributeValue> getValues(Entry entry, argument 81 Backend backend = DirectoryServer.getBackend(entry.getDN()); 85 long count = backend.numSubordinates(entry.getDN(), false); 107 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 109 Backend backend = DirectoryServer.getBackend(entry.getDN()); 113 return backend.numSubordinates(entry.getDN(), false) >= 0; 128 public boolean hasValue(Entry entry, VirtualAttributeRule rule, argument 131 Backend backend = DirectoryServer.getBackend(entry.getDN()); 135 long count = backend.numSubordinates(entry.getDN(), false); 152 public ConditionResult matchesSubstring(Entry entry, argument 164 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/ |
H A D | ServiceInstance.java | 119 SMSEntry entry = instance.getSMSEntry(); 120 entry.setAttribute(SMSEntry.ATTR_SERVICE_ID, groups); 121 entry.save(token); 122 instance.refresh(entry); 150 SMSEntry entry = instance.getSMSEntry(); 151 entry.setAttribute(SMSEntry.ATTR_LABELED_URI, uris); 152 entry.save(token); 153 instance.refresh(entry); 320 SMSEntry entry = instance.getSMSEntry(); 321 entry [all...] |
H A D | SMSUtils.java | 240 for (Map.Entry<String, Object> entry : attributes.entrySet()) { 241 String attrName = entry.getKey(); 242 Object value = entry.getValue(); 262 static Map<String, Set<String>> getAttrsFromEntry(SMSEntry entry) { argument 264 SMSEntry.debug.message("SMSUtils: obtains attrs from entry: " + entry.getDN()); 267 String[] attrValues = entry.getAttributeValues(SMSEntry.ATTR_KEYVAL); 268 String[] searchableAttrValues = entry.getAttributeValues(SMSEntry.ATTR_XML_KEYVAL); 273 addAttributesToMap(entry, attrValues, answer); 274 addAttributesToMap(entry, searchableAttrValue 279 addAttributesToMap(SMSEntry entry, String[] attrs, Map<String, Set<String>> attrMap) argument 420 replaceAttributeValue(SMSEntry entry, String attrName, String oldValue, String newValue, Set<String> searchableAttrNames) argument 431 replaceAttributeValues(SMSEntry entry, String attrName, Set<String> oldValues, Set<String> newValues, Set<String> searchableAttrNames) argument 492 convertEntryToAttributesMap(Entry entry) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/ |
H A D | ServiceInstance.java | 119 SMSEntry entry = instance.getSMSEntry(); 120 entry.setAttribute(SMSEntry.ATTR_SERVICE_ID, groups); 121 entry.save(token); 122 instance.refresh(entry); 150 SMSEntry entry = instance.getSMSEntry(); 151 entry.setAttribute(SMSEntry.ATTR_LABELED_URI, uris); 152 entry.save(token); 153 instance.refresh(entry); 320 SMSEntry entry = instance.getSMSEntry(); 321 entry [all...] |
/forgerock/opendj2/src/server/org/opends/server/api/ |
H A D | VirtualAttributeProvider.java | 66 * the provided configuration entry. 142 * Generates an unmodifiable set of values for the provided entry. 144 * @param entry 145 * The entry for which the values are to be generated. 150 * entry. It may be empty, but it must not be {@code null}. 153 Entry entry, VirtualAttributeRule rule); 159 * at least one value for the provided entry. 161 * @param entry The entry for which to make the determination. 166 * generate at least one value for the provided entry, o 152 getValues( Entry entry, VirtualAttributeRule rule) argument 169 hasValue(Entry entry, VirtualAttributeRule rule) argument 189 hasValue(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 212 hasAllValues(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 235 hasAnyValue(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 272 matchesSubstring(Entry entry, VirtualAttributeRule rule, ByteString subInitial, List<ByteString> subAny, ByteString subFinal) argument 418 greaterThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 495 lessThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 572 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/api/ |
H A D | VirtualAttributeProvider.java | 71 * the provided configuration entry. 145 * Generates an unmodifiable set of values for the provided entry. 147 * @param entry 148 * The entry for which the values are to be generated. 153 * entry. It may be empty, but it must not be {@code null}. 156 Entry entry, VirtualAttributeRule rule); 162 * at least one value for the provided entry. 164 * @param entry The entry for which to make the determination. 169 * generate at least one value for the provided entry, o 155 getValues( Entry entry, VirtualAttributeRule rule) argument 172 hasValue(Entry entry, VirtualAttributeRule rule) argument 192 hasValue(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 215 hasAllValues(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 238 hasAnyValue(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 275 matchesSubstring(Entry entry, VirtualAttributeRule rule, ByteString subInitial, List<ByteString> subAny, ByteString subFinal) argument 421 greaterThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 498 lessThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 575 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj-b2.6/tests/staf-tests/shared/java/ldapjdk/ |
H A D | Reader.java | 59 LDAPEntry entry = null; 84 entry = results.next(); 87 if ( entry != null ) { 88 attr = entry.getAttribute("changeNumber"); 104 EclReadAndPlay.println("WARNING", "Cannot find a changelog entry for csn " + csn ); 105 EclReadAndPlay.println("WARNING", "Will start from the first changelog entry"); 109 entry = results.next(); 110 attr = entry.getAttribute("firstChangeNumber"); 126 if ( entry != null ) { 127 attr = entry [all...] |
/forgerock/opendj2/tests/staf-tests/shared/java/ldapjdk/ |
H A D | Reader.java | 58 LDAPEntry entry = null; 83 entry = results.next(); 86 if ( entry != null ) { 87 attr = entry.getAttribute("changeNumber"); 103 EclReadAndPlay.println("WARNING", "Cannot find a changelog entry for csn " + csn ); 104 EclReadAndPlay.println("WARNING", "Will start from the first changelog entry"); 108 entry = results.next(); 109 attr = entry.getAttribute("firstChangeNumber"); 125 if ( entry != null ) { 126 attr = entry [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/api/ |
H A D | VirtualAttributeProvider.java | 71 * the provided configuration entry. 145 * Generates an unmodifiable set of values for the provided entry. 147 * @param entry 148 * The entry for which the values are to be generated. 153 * entry. It may be empty, but it must not be {@code null}. 156 Entry entry, VirtualAttributeRule rule); 162 * at least one value for the provided entry. 164 * @param entry The entry for which to make the determination. 169 * generate at least one value for the provided entry, o 155 getValues( Entry entry, VirtualAttributeRule rule) argument 172 hasValue(Entry entry, VirtualAttributeRule rule) argument 192 hasValue(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 215 hasAllValues(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 238 hasAnyValue(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 275 matchesSubstring(Entry entry, VirtualAttributeRule rule, ByteString subInitial, List<ByteString> subAny, ByteString subFinal) argument 421 greaterThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 498 lessThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 575 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj2.6.2/tests/staf-tests/shared/java/ldapjdk/ |
H A D | Reader.java | 59 LDAPEntry entry = null; 84 entry = results.next(); 87 if ( entry != null ) { 88 attr = entry.getAttribute("changeNumber"); 104 EclReadAndPlay.println("WARNING", "Cannot find a changelog entry for csn " + csn ); 105 EclReadAndPlay.println("WARNING", "Will start from the first changelog entry"); 109 entry = results.next(); 110 attr = entry.getAttribute("firstChangeNumber"); 126 if ( entry != null ) { 127 attr = entry [all...] |
/forgerock/opendj2-jel-hg/tests/staf-tests/shared/java/ldapjdk/ |
H A D | Reader.java | 59 LDAPEntry entry = null; 84 entry = results.next(); 87 if ( entry != null ) { 88 attr = entry.getAttribute("changeNumber"); 104 EclReadAndPlay.println("WARNING", "Cannot find a changelog entry for csn " + csn ); 105 EclReadAndPlay.println("WARNING", "Will start from the first changelog entry"); 109 entry = results.next(); 110 attr = entry.getAttribute("firstChangeNumber"); 126 if ( entry != null ) { 127 attr = entry [all...] |
/forgerock/opendj2-hg/tests/staf-tests/shared/java/ldapjdk/ |
H A D | Reader.java | 58 LDAPEntry entry = null; 83 entry = results.next(); 86 if ( entry != null ) { 87 attr = entry.getAttribute("changeNumber"); 103 EclReadAndPlay.println("WARNING", "Cannot find a changelog entry for csn " + csn ); 104 EclReadAndPlay.println("WARNING", "Will start from the first changelog entry"); 108 entry = results.next(); 109 attr = entry.getAttribute("firstChangeNumber"); 125 if ( entry != null ) { 126 attr = entry [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/api/ |
H A D | VirtualAttributeProvider.java | 66 * the provided configuration entry. 142 * Generates an unmodifiable set of values for the provided entry. 144 * @param entry 145 * The entry for which the values are to be generated. 150 * entry. It may be empty, but it must not be {@code null}. 153 Entry entry, VirtualAttributeRule rule); 159 * at least one value for the provided entry. 161 * @param entry The entry for which to make the determination. 166 * generate at least one value for the provided entry, o 152 getValues( Entry entry, VirtualAttributeRule rule) argument 169 hasValue(Entry entry, VirtualAttributeRule rule) argument 189 hasValue(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 212 hasAllValues(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 235 hasAnyValue(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 272 matchesSubstring(Entry entry, VirtualAttributeRule rule, ByteString subInitial, List<ByteString> subAny, ByteString subFinal) argument 418 greaterThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 495 lessThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 572 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/api/ |
H A D | VirtualAttributeProvider.java | 71 * the provided configuration entry. 145 * Generates an unmodifiable set of values for the provided entry. 147 * @param entry 148 * The entry for which the values are to be generated. 153 * entry. It may be empty, but it must not be {@code null}. 156 Entry entry, VirtualAttributeRule rule); 162 * at least one value for the provided entry. 164 * @param entry The entry for which to make the determination. 169 * generate at least one value for the provided entry, o 155 getValues( Entry entry, VirtualAttributeRule rule) argument 172 hasValue(Entry entry, VirtualAttributeRule rule) argument 192 hasValue(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 215 hasAllValues(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 238 hasAnyValue(Entry entry, VirtualAttributeRule rule, Collection<AttributeValue> values) argument 275 matchesSubstring(Entry entry, VirtualAttributeRule rule, ByteString subInitial, List<ByteString> subAny, ByteString subFinal) argument 421 greaterThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 498 lessThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 575 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/api/ |
H A D | VirtualAttributeProvider.java | 67 * the provided configuration entry. 142 * Generates an unmodifiable attribute with the values for the provided entry. 144 * @param entry 145 * The entry for which the values are to be generated. 150 * provided entry. It may be empty, but it must not be {@code null}. 152 public abstract Attribute getValues(Entry entry, VirtualAttributeRule rule); argument 158 * at least one value for the provided entry. 160 * @param entry The entry for which to make the determination. 165 * generate at least one value for the provided entry, o 168 hasValue(Entry entry, VirtualAttributeRule rule) argument 188 hasValue(Entry entry, VirtualAttributeRule rule, ByteString value) argument 208 matchesEqualityAssertion(Entry entry, VirtualAttributeRule rule, ByteString assertionValue) argument 230 hasAllValues(Entry entry, VirtualAttributeRule rule, Collection<ByteString> values) argument 258 matchesSubstring(Entry entry, VirtualAttributeRule rule, ByteString subInitial, List<ByteString> subAny, ByteString subFinal) argument 321 greaterThanOrEqualTo(Entry entry, VirtualAttributeRule rule, ByteString assertionValue) argument 383 lessThanOrEqualTo(Entry entry, VirtualAttributeRule rule, ByteString assertionValue) argument 447 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, ByteString assertionValue) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/ |
H A D | NamingConflictTest.java | 110 Entry entry = createAndAddEntry("simultaneousModrdnConflict"); 111 String entryUUID = getEntryUUID(entry.getName()); 117 replayMsg(modDnMsg(entry, entryUUID, parentUUID, csn2, "uid=simultaneous2")); 120 replayMsg(modDnMsg(entry, entryUUID, parentUUID, csn1, "uid=simulatneouswrong")); 123 assertFalse(entryExists(entry.getName()), "The modDN conflict was not resolved as expected."); 126 private ModifyDNMsg modDnMsg(Entry entry, String entryUUID, String parentUUID, CSN csn, String newRDN) argument 129 return new ModifyDNMsg(entry.getName(), csn, entryUUID, parentUUID, false, TEST_ROOT_DN_STRING, newRDN); 135 * the other conflicting entry is correctly renamed to its original name. 140 Entry entry = createAndAddEntry("conflictCleaningDelete"); 142 // Add the first entry 164 addMsg(Entry entry, CSN csn, String parentUUID, String childUUID) argument [all...] |
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | AddOperationTestCase.java | 90 Entry entry = TestCaseUtils.makeEntry( 105 null, entry.getDN(), entry.getObjectClasses(), 106 entry.getUserAttributes(), 107 entry.getOperationalAttributes()), 109 noControls, entry.getDN(), entry.getObjectClasses(), 110 entry.getUserAttributes(), 111 entry.getOperationalAttributes()), 208 Entry entry [all...] |
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/core/ |
H A D | AddOperationTestCase.java | 90 Entry entry = TestCaseUtils.makeEntry( 105 null, entry.getDN(), entry.getObjectClasses(), 106 entry.getUserAttributes(), 107 entry.getOperationalAttributes()), 109 noControls, entry.getDN(), entry.getObjectClasses(), 110 entry.getUserAttributes(), 111 entry.getOperationalAttributes()), 208 Entry entry [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/core/ |
H A D | AddOperationTestCase.java | 108 Entry entry = TestCaseUtils.makeEntry( 123 null, entry.getName(), entry.getObjectClasses(), 124 entry.getUserAttributes(), 125 entry.getOperationalAttributes()), 127 noControls, entry.getName(), entry.getObjectClasses(), 128 entry.getUserAttributes(), 129 entry.getOperationalAttributes()), 226 Entry entry [all...] |
/forgerock/openidm-v4/openidm-repo-orientdb/src/main/java/org/forgerock/openidm/repo/orientdb/impl/ |
H A D | DocumentUtil.java | 108 for (java.util.Map.Entry<String, Object> entry : doc) { 109 Object value = entry.getValue(); 110 String key = entry.getKey(); 181 // Replace the entry with new type 184 // Replace directly in the entry 213 for(Map.Entry<String, Object> entry : mapToClean.entrySet()) { 214 entry.setValue(asSimpleBinding(entry.getValue())); 277 for (java.util.Map.Entry<String, Object> entry : result) { 278 String key = entry [all...] |
/forgerock/opendj2/src/server/org/opends/server/authorization/dseecompat/ |
H A D | AciLDAPOperationContainer.java | 44 * @param entry The entry for evaluation. 47 int rights, Entry entry) 49 super(operation, rights, entry); 66 * Constructor interface for evaluation general purpose Operation, entry and 70 * @param e The entry for evaluation. 85 * @param e An entry built especially for evaluation. 99 * @param e An entry built especially for evaluation. 144 * @param entry The entry t 46 AciLDAPOperationContainer(Operation operation, int rights, Entry entry) argument 146 AciLDAPOperationContainer(ModifyDNOperation operation, int rights, Entry entry) argument [all...] |