/forgerock/opendj2/src/server/org/opends/server/tools/ |
H A D | LDIFDiff.java | 441 Entry entry = reader.readEntry(checkSchema); 442 if (entry == null) 447 if (! ignoreEntries.contains(entry.getDN())) 449 sourceMap.put(entry.getDN(), entry); 490 Entry entry = reader.readEntry(checkSchema); 491 if (entry == null) 496 if (! ignoreEntries.contains(entry.getDN())) 498 targetMap.put(entry.getDN(), entry); 752 writeAdd(LDIFWriter writer, Entry entry) argument 771 writeDelete(LDIFWriter writer, Entry entry) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/tools/makeldif/ |
H A D | MakeLDIF.java | 412 * Writes the provided entry to the appropriate target. 414 * @param entry The entry to be written. 416 * @return <CODE>true</CODE> if the entry writer will accept more entries, or 419 * @throws IOException If a problem occurs while writing the entry to its 425 public boolean writeEntry(TemplateEntry entry) argument 430 if (entry.getDN() != null) 432 ldifWriter.writeTemplateEntry(entry); 443 AttributeType[] rdnAttrs = entry.getTemplate().getRDNAttributes(); 447 if (entry [all...] |
H A D | MakeLDIFInputStream.java | 63 // The byte array that will hold the LDIF representation of the next entry to 211 public boolean writeEntry(TemplateEntry entry) argument 218 if (entryQueue.offer(entry, 500, TimeUnit.MILLISECONDS)) 254 * Retrieves the next entry and puts it in the entry byte buffer. 256 * @return <CODE>true</CODE> if the next entry is available, or 262 TemplateEntry entry = entryQueue.poll(); 263 while (entry == null) 271 entry = entryQueue.poll(); 272 if (entry [all...] |
/forgerock/opendj2/src/server/org/opends/server/types/ |
H A D | VirtualAttributeRule.java | 246 * provided entry, taking into account the eligibility requirements 249 * @param entry The entry for which to make the determination. 252 * to generate values for the entry, or {@code false} if not. 254 public boolean appliesToEntry(Entry entry) argument 259 // the entry already has virtual values. 262 && entry.hasAttribute(attributeType)) 267 // If there are any base DNs defined, then the entry must be below 269 DN entryDN = entry.getDN(); 288 // If there are any search filters defined, then the entry mus [all...] |
/forgerock/opendj2/src/server/org/opends/server/types/operation/ |
H A D | PreOperationSearchOperation.java | 163 * Returns the provided entry to the client. 165 * @param entry The entry that should be returned. 166 * @param controls The set of controls to include with the entry 168 * included with the entry). 176 public boolean returnEntry(Entry entry, List<Control> controls); argument
|
/forgerock/opendj2/src/server/org/opends/server/workflowelement/localbackend/ |
H A D | LocalBackendCompareOperation.java | 53 * specified entry in the Directory Server contains a given attribute-value 79 * The DN of the entry to compare. 84 * The entry to be compared. 86 private Entry entry; field in class:LocalBackendCompareOperation 104 * Retrieves the entry to target with the compare operation. 106 * @return The entry to target with the compare operation, or 107 * <CODE>null</CODE> if the entry is not yet available. 112 return entry; 167 // Process the entry DN to convert it from the raw form to the form 176 // If the target entry i 346 newDirectoryException(Entry entry, ResultCode resultCode, Message message) argument 354 setResultCodeAndMessageNoInfoDisclosure(Entry entry, DN entryDN, ResultCode realResultCode, Message realMessage) argument [all...] |
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/ |
H A D | TestJebFormat.java | 135 * Test entry IDs. 164 * Test entry ID lists. 186 * Encodes this entry using the V3 encoding. 191 * to encode the entry. 193 private void encodeV1(Entry entry, ByteStringBuilder buffer) argument 200 byte[] dnBytes = getBytes(entry.getDN().toString()); 208 for (String ocName : entry.getObjectClasses().values()) 211 if(i < entry.getObjectClasses().values().size()) 222 encodeV1Attributes(buffer, entry.getUserAttributes()); 227 encodeV1Attributes(buffer, entry 287 encodeV2(Entry entry, ByteStringBuilder buffer, EntryEncodeConfig config) argument [all...] |
/forgerock/opendj2.6.2/src/quicksetup/org/opends/quicksetup/util/ |
H A D | ZipExtractor.java | 56 /** Path separator for zip file entry names on Windows and *nix. */ 160 * @param removeFirstPath when true removes each zip entry's initial path 161 * when copied to the destination folder. So for instance if the zip entry's 187 ZipEntry entry = zipIn.getNextEntry(); 188 while (entry != null) { 197 String name = entry.getName(); 204 "zip entry name does not contain a path separator"); 210 copyZipEntry(entry, destination, zipIn, 216 INFO_ERROR_COPYING.get(entry.getName()), ioe); 225 entry 273 copyZipEntry(ZipEntry entry, File destination, ZipInputStream is, int ratioBeforeCompleted, int ratioWhenCompleted, Map<String, ArrayList<String>> permissions) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/authorization/dseecompat/ |
H A D | AciList.java | 44 * using the entry DN as the key. 62 * The configuration DN used to compare against the global ACI entry DN. 68 * @param configDN The configuration entry DN. 140 * startup using the addACi single entry method. 154 for (Entry entry : entries) { 155 DN dn=entry.getDN(); 157 entry.getOperationalAttribute(AciHandler.aciType); 192 * Add all of an entry's ACI (global or regular) attribute values to the 194 * @param entry The entry containin 202 addAci(Entry entry, boolean hasAci, boolean hasGlobalAci, LinkedList<Message> failedACIMsgs) argument 360 removeAci(Entry entry, boolean hasAci, boolean hasGlobalAci) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/jeb/ |
H A D | ApproximateIndexer.java | 98 * Generate the set of index keys for an entry. 100 * @param entry The entry. 103 public void indexEntry(Entry entry, Set<byte[]> keys) argument 106 entry.getAttribute(attributeType); 115 * to be deleted for an entry that has been replaced. 117 * @param oldEntry The original entry contents. 118 * @param newEntry The new entry contents. 133 * to be deleted for an entry that was modified. 135 * @param oldEntry The original entry content [all...] |
H A D | EqualityIndexer.java | 101 * Generate the set of index keys for an entry. 103 * @param entry The entry. 106 public void indexEntry(Entry entry, Set<byte[]> keys) argument 109 entry.getAttribute(attributeType); 120 * to be deleted for an entry that has been replaced. 122 * @param oldEntry The original entry contents. 123 * @param newEntry The new entry contents. 141 * to be deleted for an entry that was modified. 143 * @param oldEntry The original entry content [all...] |
H A D | JEExtensibleIndexer.java | 125 public void indexEntry(Entry entry, Set<byte[]> keys) argument 128 entry.getAttribute(attributeType);
|
H A D | OrderingIndexer.java | 101 * Generate the set of index keys for an entry. 103 * @param entry The entry. 106 public void indexEntry(Entry entry, Set<byte[]> keys) argument 109 entry.getAttribute(attributeType); 118 * to be deleted for an entry that has been replaced. 120 * @param oldEntry The original entry contents. 121 * @param newEntry The new entry contents. 136 * to be deleted for an entry that was modified. 138 * @param oldEntry The original entry content [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/core/ |
H A D | AuthenticatedUsers.java | 191 * @param entry The entry that was added to the server. 195 Entry entry) 209 * @param entry The entry that was removed from the 214 Entry entry) 217 // or authorized as the user whose entry has been deleted and 224 userMap.removeSubtree(entry.getDN(), arraySet); 236 String.valueOf(entry.getDN())); 251 * @param oldEntry The entry befor 193 handleAddOperation( PostResponseAddOperation addOperation, Entry entry) argument 212 handleDeleteOperation( PostResponseDeleteOperation deleteOperation, Entry entry) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/ |
H A D | EntryUUIDVirtualAttributeProvider.java | 56 * DSE entries). Real user data should have entry UUID values generated at the 108 public Set<AttributeValue> getValues(Entry entry, argument 111 String normDNString = entry.getDN().toNormalizedString(); 126 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 138 public boolean hasValue(Entry entry, VirtualAttributeRule rule, argument 143 String normalizedDN = entry.getDN().toNormalizedString(); 167 public ConditionResult matchesSubstring(Entry entry, argument 183 public ConditionResult greaterThanOrEqualTo(Entry entry, argument 197 public ConditionResult lessThanOrEqualTo(Entry entry, argument 211 public ConditionResult approximatelyEqualTo(Entry entry, argument [all...] |
H A D | GoverningStructureRuleVirtualAttributeProvider.java | 98 public Set<AttributeValue> getValues(Entry entry, argument 101 DITStructureRule ditRule = getDITStructureRule(entry); 119 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 121 return getDITStructureRule(entry)!=null; 130 public ConditionResult matchesSubstring(Entry entry, argument 146 public ConditionResult greaterThanOrEqualTo(Entry entry, argument 160 public ConditionResult lessThanOrEqualTo(Entry entry, argument 174 public ConditionResult approximatelyEqualTo(Entry entry, argument 214 //Checks if the entry matches the nameform. 217 Entry entry) 215 matchesNameForm(NameForm nameForm, AcceptRejectWarn structuralPolicy, Entry entry) argument 254 getDITStructureRule(Entry entry) argument [all...] |
H A D | HasSubordinatesVirtualAttributeProvider.java | 105 public Set<AttributeValue> getValues(Entry entry, argument 108 Backend backend = DirectoryServer.getBackend(entry.getDN()); 112 ConditionResult ret = backend.hasSubordinates(entry.getDN()); 138 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 140 Backend backend = DirectoryServer.getBackend(entry.getDN()); 144 ConditionResult ret = backend.hasSubordinates(entry.getDN()); 164 public boolean hasValue(Entry entry, VirtualAttributeRule rule, argument 167 Backend backend = DirectoryServer.getBackend(entry.getDN()); 171 ConditionResult ret = backend.hasSubordinates(entry.getDN()); 196 public ConditionResult matchesSubstring(Entry entry, argument 212 greaterThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 226 lessThanOrEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument 240 approximatelyEqualTo(Entry entry, VirtualAttributeRule rule, AttributeValue value) argument [all...] |
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...] |
H A D | StructuralObjectClassVirtualAttributeProvider.java | 97 public Set<AttributeValue> getValues(Entry entry, argument 102 entry.getStructuralObjectClass().getNameOrOID()); 112 public boolean hasValue(Entry entry, VirtualAttributeRule rule) argument 114 //A structural object class is always present in an entry. 124 public ConditionResult matchesSubstring(Entry entry, argument 140 public ConditionResult greaterThanOrEqualTo(Entry entry, argument 154 public ConditionResult lessThanOrEqualTo(Entry entry, argument 168 public ConditionResult approximatelyEqualTo(Entry entry, argument
|
H A D | SubschemaSubentryVirtualAttributeProvider.java | 97 public Set<AttributeValue> getValues(Entry entry, argument 117 public ConditionResult matchesSubstring(Entry entry, argument 133 public ConditionResult greaterThanOrEqualTo(Entry entry, argument 147 public ConditionResult lessThanOrEqualTo(Entry entry, argument 161 public ConditionResult approximatelyEqualTo(Entry entry, argument
|
/forgerock/opendj2.6.2/src/server/org/opends/server/plugins/ |
H A D | EntryUUIDPlugin.java | 55 * attribute to an entry whenever it is added or imported as per RFC 4530. For 58 * the UUID will be constructed from the entry DN using a repeatable algorithm. 98 "( 1.3.6.1.1.16.4 NAME 'entryUUID' DESC 'UUID of the entry' " + 163 doLDIFImport(LDIFImportConfig importConfig, Entry entry) argument 165 // See if the entry being imported already contains an entryUUID attribute. 167 List<Attribute> uuidList = entry.getAttribute(entryUUIDType); 177 byte[] dnBytes = getBytes(entry.getDN().toNormalizedString()); 185 entry.putAttribute(entryUUIDType, uuidList); 201 // See if the entry being added already contains an entryUUID attribute. 221 // Add the attribute to the entry an [all...] |
H A D | PasswordPolicyImportPlugin.java | 85 // The attribute type used to specify the password policy for an entry. 333 doLDIFImport(LDIFImportConfig importConfig, Entry entry) argument 335 // Check if this entry is a password policy subentry 337 if ((entry.isSubentry() || entry.isLDAPSubentry()) && 338 entry.isPasswordPolicySubentry()) 342 new SubentryPasswordPolicy(new SubEntry(entry)); 356 // See if the entry explicitly states the password policy that it should 358 List<Attribute> attrList = entry.getAttribute(customPolicyAttribute); 376 String.valueOf(entry [all...] |
H A D | SevenBitCleanPlugin.java | 136 doLDIFImport(LDIFImportConfig importConfig, Entry entry) argument 142 // Make sure that the entry is within the scope of this plugin. While 145 // is defined, then assume that the entry is in scope. 152 if (baseDN.isAncestorOf(entry.getDN())) 161 // The entry is out of scope, so we won't process it. 170 List<Attribute> attrList = entry.getAttribute(t); 207 // If the entry is within the scope of this plugin, then make sure all 273 // If the target entry is within the scope of this plugin, then make sure 351 // If the target entry is within the scope of this plugin, then make sure
|
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/ldap/ |
H A D | SearchResultEntryProtocolOp.java | 60 * This class defines the structures and methods for an LDAP search result entry 67 // The set of attributes for this search entry. 70 // The DN for this search entry. 73 // The underlying search result entry. 74 private SearchResultEntry entry; field in class:SearchResultEntryProtocolOp 82 * Creates a new LDAP search result entry protocol op with the specified DN 85 * @param dn The DN for this search result entry. 95 * Creates a new LDAP search result entry protocol op with the specified DN 98 * @param dn The DN for this search result entry. 99 * @param attributes The set of attributes for this search result entry [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/common/ |
H A D | ChangelogBaseDNVirtualAttributeProvider.java | 55 * changelog attribute of the root DSE entry that contain the baseDn of the ECL. 125 public Set<AttributeValue> getValues(Entry entry,VirtualAttributeRule rule) argument
|