Searched defs:ld (Results 1 - 25 of 25) sorted by relevance

/forgerock/openam-v13/openam-ldap-utils/src/main/java/org/forgerock/openam/ldap/
H A DLdifUtils.java71 * @param ld LDAP Connection.
74 public static void createSchemaFromLDIF(String file, Connection ld) throws IOException { argument
76 createSchemaFromLDIF(fileInput, ld);
85 * @param ld LDAP Connection.
88 public static void createSchemaFromLDIF(InputStream stream, Connection ld) throws IOException { argument
89 createSchemaFromLDIF(new LDIFChangeRecordReader(new BufferedInputStream(stream)), ld);
96 * @param ld LDAP Connection.
99 public static void createSchemaFromLDIF(LDIFChangeRecordReader ldif, final Connection ld) throws IOException { argument
108 ld.add(change);
115 ld
[all...]
H A DLDAPUtils.java508 * @param ld The connection.
511 public static String getDBName(String suffix, Connection ld) { argument
515 ConnectionEntryReader results = ld.search(LDAPRequests.newSearchRequest("cn=mapping tree,cn=config",
/forgerock/openam/openam-ldap-utils/src/main/java/org/forgerock/openam/ldap/
H A DLdifUtils.java71 * @param ld LDAP Connection.
74 public static void createSchemaFromLDIF(String file, Connection ld) throws IOException { argument
76 createSchemaFromLDIF(fileInput, ld);
85 * @param ld LDAP Connection.
88 public static void createSchemaFromLDIF(InputStream stream, Connection ld) throws IOException { argument
89 createSchemaFromLDIF(new LDIFChangeRecordReader(new BufferedInputStream(stream)), ld);
96 * @param ld LDAP Connection.
99 public static void createSchemaFromLDIF(LDIFChangeRecordReader ldif, final Connection ld) throws IOException { argument
108 ld.add(change);
115 ld
[all...]
H A DLDAPUtils.java518 * @param ld The connection.
521 public static String getDBName(String suffix, Connection ld) { argument
525 ConnectionEntryReader results = ld.search(LDAPRequests.newSearchRequest("cn=mapping tree,cn=config",
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/schema/
H A DImportServiceConfiguration.java328 private void loadLDIF(DirectoryServerVendor.Vendor vendor, Connection ld) throws CLIException { argument
338 LdifUtils.createSchemaFromLDIF(ldif, ld);
339 LdifUtils.createSchemaFromLDIF(index, ld);
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/schema/
H A DImportServiceConfiguration.java331 private void loadLDIF(DirectoryServerVendor.Vendor vendor, Connection ld) throws CLIException { argument
341 LdifUtils.createSchemaFromLDIF(ldif, ld);
342 LdifUtils.createSchemaFromLDIF(index, ld);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/
H A DAMSetupDSConfig.java71 private static ConnectionFactory ld; field in class:AMSetupDSConfig
250 LdifUtils.createSchemaFromLDIF(basedir + "/" + schemaFile, ld.getConnection());
268 if (ld != null) {
269 ld.close();
270 ld = null;
283 if (ld == null) {
296 ld = new LDAPConnectionFactory(dsHostName, getPort(), options);
308 return ld.getConnection();
312 ld = null;
315 ld
[all...]
H A DUserIdRepo.java247 try (Connection ld = getLDAPConnection(userRepo)) {
249 ConnectionEntryReader res = ld.search(LDAPRequests.newSearchRequest("", SearchScope.BASE_OBJECT,
412 private String getDBName(Map userRepo, Connection ld) throws LdapException { argument
414 return LDAPUtils.getDBName(suffix, ld);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/
H A DAMSetupDSConfig.java73 private static ConnectionFactory ld; field in class:AMSetupDSConfig
252 LdifUtils.createSchemaFromLDIF(basedir + "/" + schemaFile, ld.getConnection());
270 if (ld != null) {
271 ld.close();
272 ld = null;
285 if (ld == null) {
300 ld = new LDAPConnectionFactory(dsHostName, getPort(), options);
312 return ld.getConnection();
316 ld = null;
319 ld
[all...]
H A DUserIdRepo.java251 try (Connection ld = getLDAPConnection(userRepo)) {
253 ConnectionEntryReader res = ld.search(LDAPRequests.newSearchRequest("", SearchScope.BASE_OBJECT,
418 private String getDBName(Map userRepo, Connection ld) throws LdapException { argument
420 return LDAPUtils.getDBName(suffix, ld);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/plugins/
H A DLDAPUsers.java268 try (Connection ld = connPool.getConnection()){
269 ConnectionEntryReader res = search(searchFilter, ld, userRDNAttrName);
330 try (Connection ld = connPool.getConnection()) {
331 ConnectionEntryReader res = search(searchFilter, ld, attributeNames);
368 protected ConnectionEntryReader search(String searchFilter, Connection ld, String... attributeNames) { argument
375 return ld.search(request);
687 try (Connection ld = connPool.getConnection()){
688 ConnectionEntryReader res = search(searchFilter, ld, attrs);
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/java/com/sun/identity/diagnostic/plugin/services/common/
H A DServiceBase.java474 protected static boolean connectDSwithDN(Connection ld, String suffix) { argument
477 try (ConnectionEntryReader reader = ld.search(LDAPRequests.newSearchRequest(suffix, SearchScope.BASE_OBJECT,
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/datastore/
H A DAddAMSDKIdRepoPlugin.java333 Connection ld = factory.getConnection()){
334 String dbName = LDAPUtils.getDBName(basedn, ld);
341 loadLDIF(ld, swapped);
347 private void loadLDIF(Connection ld, String ldif) argument
352 LdifUtils.createSchemaFromLDIF(new DataInputStream(reader), ld);
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/datastore/
H A DAddAMSDKIdRepoPlugin.java333 Connection ld = factory.getConnection()){
334 String dbName = LDAPUtils.getDBName(basedn, ld);
341 loadLDIF(ld, swapped);
347 private void loadLDIF(Connection ld, String ldif) argument
352 LdifUtils.createSchemaFromLDIF(new DataInputStream(reader), ld);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/plugins/
H A DLDAPUsers.java269 try (Connection ld = connPool.getConnection()){
270 ConnectionEntryReader res = search(searchFilter, ld, userRDNAttrName);
331 try (Connection ld = connPool.getConnection()) {
332 ConnectionEntryReader res = search(searchFilter, ld, attributeNames);
369 protected ConnectionEntryReader search(String searchFilter, Connection ld, String... attributeNames) { argument
376 return ld.search(request);
691 try (Connection ld = connPool.getConnection()){
692 ConnectionEntryReader res = search(searchFilter, ld, attrs);
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/ums/
H A DDataLayer.java1053 public Entry readLDAPEntry(Connection ld, String dn, argument
1067 return ld.searchSingleEntry(LDAPRequests.newSingleEntrySearchRequest(dn));
1069 return ld.searchSingleEntry(LDAPRequests.newSingleEntrySearchRequest(dn, attrnames));
/forgerock/web-agents-v4/source/
H A Dnet_ops.c34 struct request_data *ld = (struct request_data *) udata; local
35 if (ld->data == NULL) {
36 ld->data = malloc(data_sz + 1);
37 if (ld->data == NULL) {
38 ld->error = AM_ENOMEM;
41 memcpy(ld->data, data, data_sz);
42 ld->data[data_sz] = 0;
43 ld->data_size = data_sz;
45 char *rd_tmp = realloc(ld->data, ld
63 struct request_data *ld = (struct request_data *) udata; local
67 struct request_data *ld = (struct request_data *) udata; local
72 struct request_data *ld = (struct request_data *) udata; local
77 struct request_data *ld = udata; local
[all...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/ums/
H A DDataLayer.java1053 public Entry readLDAPEntry(Connection ld, String dn, argument
1067 return ld.searchSingleEntry(LDAPRequests.newSingleEntrySearchRequest(dn));
1069 return ld.searchSingleEntry(LDAPRequests.newSingleEntrySearchRequest(dn, attrnames));
/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeUtils.java3515 * @param ld active connection to server
3519 public static void delete(String dn, Connection ld, boolean doDelete ) { argument
3524 ConnectionEntryReader res = ld.search(LDAPRequests.newSearchRequest(dn, SearchScope.SINGLE_LEVEL,
3535 delete(theDN, ld, doDelete);
3542 ld.delete(LDAPRequests.newDeleteRequest(dn));
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeUtils.java3515 * @param ld active connection to server
3519 public static void delete(String dn, Connection ld, boolean doDelete ) { argument
3524 ConnectionEntryReader res = ld.search(LDAPRequests.newSearchRequest(dn, SearchScope.SINGLE_LEVEL,
3535 delete(theDN, ld, doDelete);
3542 ld.delete(LDAPRequests.newDeleteRequest(dn));
/forgerock/opendj-b2.6/tests/staf-tests/shared/java/ldapjdk/
H A Dldapjdk.jarMETA-INF/ META-INF/MANIFEST.MF com/netscape/sasl/mechanisms/SaslExternal.class SaslExternal.java ...
/forgerock/opendj2/tests/staf-tests/shared/java/ldapjdk/
H A Dldapjdk.jarMETA-INF/ META-INF/MANIFEST.MF com/netscape/sasl/mechanisms/SaslExternal.class SaslExternal.java ...
/forgerock/opendj2.6.2/tests/staf-tests/shared/java/ldapjdk/
H A Dldapjdk.jarMETA-INF/ META-INF/MANIFEST.MF com/netscape/sasl/mechanisms/SaslExternal.class SaslExternal.java ...
/forgerock/opendj2-jel-hg/tests/staf-tests/shared/java/ldapjdk/
H A Dldapjdk.jarMETA-INF/ META-INF/MANIFEST.MF com/netscape/sasl/mechanisms/SaslExternal.class SaslExternal.java ...
/forgerock/opendj2-hg/tests/staf-tests/shared/java/ldapjdk/
H A Dldapjdk.jarMETA-INF/ META-INF/MANIFEST.MF com/netscape/sasl/mechanisms/SaslExternal.class SaslExternal.java ...

Completed in 227 milliseconds