| | |
| | | import java.io.InputStreamReader; |
| | | import java.util.ArrayList; |
| | | import java.util.Map; |
| | | import java.util.logging.Level; |
| | | import java.util.logging.Logger; |
| | | |
| | | import javax.swing.SwingUtilities; |
| | | |
| | |
| | | import org.opends.quicksetup.ui.Utilities; |
| | | import org.opends.quicksetup.util.BackgroundTask; |
| | | import org.opends.quicksetup.util.HtmlProgressMessageFormatter; |
| | | import org.opends.quicksetup.util.UIKeyStore; |
| | | import org.opends.quicksetup.util.Utils; |
| | | |
| | | import org.opends.messages.Message; |
| | |
| | | private static final ConnectionProtocolPolicy CONNECTION_POLICY = |
| | | ConnectionProtocolPolicy.USE_MOST_SECURE_AVAILABLE; |
| | | |
| | | private static final Logger LOG = Logger.getLogger( |
| | | StatusPanelController.class.getName()); |
| | | |
| | | /** |
| | | * This method creates the control panel dialogs and to check the current |
| | | * install status. This method must be called outside the event thread because |
| | |
| | | { |
| | | DirectoryServer.bootstrapClient(); |
| | | initLookAndFeel(); |
| | | trustManager = new ApplicationTrustManager(null); |
| | | try |
| | | { |
| | | trustManager = new ApplicationTrustManager(UIKeyStore.getInstance()); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | LOG.log(Level.WARNING, "Error retrieving UI key store: "+t, t); |
| | | trustManager = new ApplicationTrustManager(null); |
| | | } |
| | | |
| | | /* Call this methods to create the dialogs (the control panel dialog |
| | | * is generated when we call getLoginDialog()). */ |
| | | getLoginDialog(); |