| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.server.util.cli; |
| | |
| | | |
| | | private String truststorePassword; |
| | | |
| | | // The timeout to be used to connect |
| | | private int connectTimeout; |
| | | |
| | | private Message heading = INFO_LDAP_CONN_HEADING_CONNECTION_PARAMETERS.get(); |
| | | |
| | | // A copy of the secureArgList for convenience. |
| | |
| | | copySecureArgsList.bindPasswordArg); |
| | | } |
| | | } |
| | | connectTimeout = secureArgsList.connectTimeoutArg.getIntValue(); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns the timeout to be used to connect with the server. |
| | | * @return the timeout to be used to connect with the server. |
| | | */ |
| | | public int getConnectTimeout() |
| | | { |
| | | return connectTimeout; |
| | | } |
| | | |
| | | /** |
| | | * Indicate if the certificate chain can be trusted. |
| | | * |
| | | * @param chain The certificate chain to validate |