| | |
| | | |
| | | import static com.forgerock.opendj.cli.Utils.*; |
| | | |
| | | import static org.opends.admin.ads.util.ConnectionUtils.*; |
| | | import static org.opends.messages.AdminToolMessages.*; |
| | | import static org.opends.messages.QuickSetupMessages.*; |
| | | |
| | |
| | | { |
| | | usedUrl = ConnectionUtils.getLDAPUrl(hostName.getText().trim(), |
| | | new Integer(port.getText().trim()), true); |
| | | ctx = Utils.createLdapsContext(usedUrl, dn.getText(), |
| | | ctx = createLdapsContext(usedUrl, dn.getText(), |
| | | String.valueOf(pwd.getPassword()), |
| | | getInfo().getConnectTimeout(), null, |
| | | getInfo().getTrustManager()); |
| | | getInfo().getTrustManager(), null); |
| | | checkVersion(ctx); |
| | | } |
| | | |