|
|
@ -3,28 +3,11 @@ package com.fr.design.data.datapane.connect; |
|
|
|
import com.fanruan.config.impl.data.ConnectionConfigProviderFactory; |
|
|
|
import com.fanruan.config.impl.data.ConnectionConfigProviderFactory; |
|
|
|
import com.fanruan.config.impl.data.ConnectionConfigWriterFactory; |
|
|
|
import com.fanruan.config.impl.data.ConnectionConfigWriterFactory; |
|
|
|
import com.fr.config.remote.RemoteConfigEvent; |
|
|
|
import com.fr.config.remote.RemoteConfigEvent; |
|
|
|
import com.fr.data.auth.AuthenticationType; |
|
|
|
|
|
|
|
import com.fr.data.auth.kerberos.KerberosAuthentication; |
|
|
|
|
|
|
|
import com.fr.data.auth.kerberos.KerberosUtils; |
|
|
|
|
|
|
|
import com.fine.theme.icon.LazyIcon; |
|
|
|
import com.fine.theme.icon.LazyIcon; |
|
|
|
import com.fr.config.RemoteConfigEvent; |
|
|
|
|
|
|
|
import com.fr.data.driver.DriverClassNotFoundException; |
|
|
|
|
|
|
|
import com.fr.data.impl.Connection; |
|
|
|
import com.fr.data.impl.Connection; |
|
|
|
import com.fr.data.impl.JDBCDatabaseConnection; |
|
|
|
import com.fr.data.impl.JDBCDatabaseConnection; |
|
|
|
import com.fr.data.impl.JNDIDatabaseConnection; |
|
|
|
import com.fr.data.impl.JNDIDatabaseConnection; |
|
|
|
import com.fr.data.pool.DBCPConnectionPoolAttr; |
|
|
|
|
|
|
|
import com.fr.data.security.ssh.BaseSsh; |
|
|
|
|
|
|
|
import com.fr.data.security.ssh.SshType; |
|
|
|
|
|
|
|
import com.fr.data.security.ssh.impl.KeyVerifySsh; |
|
|
|
|
|
|
|
import com.fr.data.security.ssl.BaseSsl; |
|
|
|
|
|
|
|
import com.fr.data.security.ssl.SslType; |
|
|
|
|
|
|
|
import com.fr.data.security.ssl.impl.NormalSsl; |
|
|
|
|
|
|
|
import com.fr.decision.privilege.TransmissionTool; |
|
|
|
|
|
|
|
import com.fr.decision.webservice.bean.datasource.ConnectionInfoBean; |
|
|
|
import com.fr.decision.webservice.bean.datasource.ConnectionInfoBean; |
|
|
|
import com.fr.decision.webservice.bean.datasource.JDBCConnectionBean; |
|
|
|
|
|
|
|
import com.fr.decision.webservice.utils.DecisionServiceConstants; |
|
|
|
|
|
|
|
import com.fr.decision.webservice.v10.datasource.connection.processor.impl.ConnectionProcessorFactory; |
|
|
|
|
|
|
|
import com.fr.decision.webservice.v10.datasource.connection.processor.impl.JDBCConnectionProcessor; |
|
|
|
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
import com.fr.design.data.MapCompareUtils; |
|
|
|
import com.fr.design.data.MapCompareUtils; |
|
|
|
import com.fr.design.data.datapane.preview.ConnectionInfoBeanHelper; |
|
|
|
import com.fr.design.data.datapane.preview.ConnectionInfoBeanHelper; |
|
|
@ -36,28 +19,23 @@ import com.fr.design.gui.controlpane.NameableCreator; |
|
|
|
import com.fr.design.gui.ilist.ListModelElement; |
|
|
|
import com.fr.design.gui.ilist.ListModelElement; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.event.EventDispatcher; |
|
|
|
import com.fr.event.EventDispatcher; |
|
|
|
import com.fr.file.ConnectionOperator; |
|
|
|
|
|
|
|
import com.fr.general.NameObject; |
|
|
|
import com.fr.general.NameObject; |
|
|
|
import com.fr.license.database.DBTypes; |
|
|
|
import com.fr.license.database.DBTypes; |
|
|
|
import com.fr.license.database.DataBaseTypePointManager; |
|
|
|
import com.fr.license.database.DataBaseTypePointManager; |
|
|
|
import com.fr.license.exception.DataBaseNotSupportedException; |
|
|
|
import com.fr.license.exception.DataBaseNotSupportedException; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.security.encryption.transmission.TransmissionEncryptors; |
|
|
|
|
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.Nameable; |
|
|
|
import com.fr.stable.Nameable; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.core.PropertyChangeAdapter; |
|
|
|
import com.fr.stable.core.PropertyChangeAdapter; |
|
|
|
import com.fr.third.fasterxml.jackson.databind.ObjectMapper; |
|
|
|
|
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
import com.fr.workspace.server.database.DataBaseTypeOperator; |
|
|
|
import com.fr.workspace.server.database.DataBaseTypeOperator; |
|
|
|
import com.fr.workspace.server.entity.connection.BatchConnectionModifyBean; |
|
|
|
|
|
|
|
import com.fr.workspace.server.entity.connection.ConnectionBean; |
|
|
|
import com.fr.workspace.server.entity.connection.ConnectionBean; |
|
|
|
import com.fr.workspace.server.repository.connection.ConnectionRepository; |
|
|
|
import com.fr.workspace.server.repository.connection.ConnectionRepository; |
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.SwingWorker; |
|
|
|
import javax.swing.SwingWorker; |
|
|
|
import java.awt.Window; |
|
|
|
import java.awt.Window; |
|
|
|
import java.sql.SQLException; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.HashMap; |
|
|
|