/** * Retrieves the connection options that should be used for connections that * are created with this command line tool. Subclasses may override this * method to use a custom set of connection options. * * @return The connection options that should be used for connections that * are created with this command line tool. */ public LDAPConnectionOptions getConnectionOptions() { return new LDAPConnectionOptions(); }
/** * Retrieves the connection options that should be used for connections that * are created with this command line tool. Subclasses may override this * method to use a custom set of connection options. * * @return The connection options that should be used for connections that * are created with this command line tool. */ public LDAPConnectionOptions getConnectionOptions() { return new LDAPConnectionOptions(); }
final LDAPConnectionOptions o = new LDAPConnectionOptions();
final LDAPConnectionOptions o = new LDAPConnectionOptions();
/** * {@inheritDoc} */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUnsolicitedNotificationHandler(this); return options; }
/** * Retrieves the connection options that should be used for connections * created for use with this tool. * * @return The connection options that should be used for connections created * for use with this tool. */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); return options; }
/** * Retrieves the connection options that should be used for connections * created for use with this tool. * * @return The connection options that should be used for connections created * for use with this tool. */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); return options; }
/** * Retrieves the connection options that should be used for connections * created for use with this tool. * * @return The connection options that should be used for connections created * for use with this tool. */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); return options; }
/** * Creates a new instance of this tool with the provided arguments. * * @param out The output stream to use for standard out. It may be * {@code null} if standard out should be suppressed. * @param err The output stream to use for standard error. It may be * {@code null} if standard error should be suppressed. */ public ManageAccount(final OutputStream out, final OutputStream err) { super(out, err); connectionOptions = new LDAPConnectionOptions(); connectionOptions.setUnsolicitedNotificationHandler(this); allDNsProvided = new AtomicBoolean(false); allFiltersProvided = new AtomicBoolean(false); cancelRequested = new AtomicBoolean(false); parser = null; rateLimiter = null; rateAdjustor = null; outputWriter = null; rejectWriter = null; searchProcessor = null; }
/** * Retrieves the connection options that should be used for connections * created for use with this tool. * * @return The connection options that should be used for connections created * for use with this tool. */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(! asynchronousMode.isPresent()); return options; }
/** * Retrieves the connection options that should be used for connections that * are created with this command line tool. Subclasses may override this * method to use a custom set of connection options. * * @return The connection options that should be used for connections that * are created with this command line tool. */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); options.setResponseTimeoutMillis(0L); return options; }
/** * Retrieves the connection options that should be used for connections that * are created with this command line tool. Subclasses may override this * method to use a custom set of connection options. * * @return The connection options that should be used for connections that * are created with this command line tool. */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); options.setResponseTimeoutMillis(0L); return options; }
/** * Retrieves the connection options that should be used for connections that * are created with this command line tool. Subclasses may override this * method to use a custom set of connection options. * * @return The connection options that should be used for connections that * are created with this command line tool. */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); options.setResponseTimeoutMillis(0L); return options; }
this.connectionOptions = new LDAPConnectionOptions();
LDAPConnection ldapConnection=null; LDAPConnectionOptions connectionOptions = new LDAPConnectionOptions(); connectionOptions.setConnectTimeoutMillis(connectTimeout); connectionOptions.setCaptureConnectStackTrace(Boolean.TRUE);
ldapServer.trustSelfSignedCerts); LDAPConnectionOptions opts = new LDAPConnectionOptions(); opts.setConnectTimeoutMillis(ldapServer.connectTimeout);
/** * {@inheritDoc} */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); options.setFollowReferrals(followReferrals.isPresent()); options.setUnsolicitedNotificationHandler(this); return options; }
/** * {@inheritDoc} */ @Override() public LDAPConnectionOptions getConnectionOptions() { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setUseSynchronousMode(true); options.setFollowReferrals(followReferrals.isPresent()); options.setUnsolicitedNotificationHandler(this); return options; }
LDAPConnectionOptions options = new LDAPConnectionOptions();
/** * Creates an {@link LDAPConnectionOptions} object from the information in * the provided specification. * * @param securityOptions The security options created from the JSON * specification. * * @return The {@code LDAPConnectionOptions} object that was created. */ LDAPConnectionOptions createConnectionOptions( final SecurityOptions securityOptions) { final LDAPConnectionOptions options = new LDAPConnectionOptions(); options.setFollowReferrals(followReferrals); options.setUseSchema(useSchema); options.setUseSynchronousMode(useSynchronousMode); options.setConnectTimeoutMillis(connectTimeoutMillis); options.setResponseTimeoutMillis(defaultResponseTimeoutMillis); if (securityOptions.verifyAddressInCertificate()) { options.setSSLSocketVerifier(new HostNameSSLSocketVerifier(true)); } return options; } }