* Connects to a particular instance of the domain adminstration
* server using the provided connection information
*/
public boolean connect(ServerConnectionIdentifier targetDAS) {
try {
TLSParams tlsParams = null;
if (targetDAS.isSecure()) {
X509TrustManager trustManager =
(X509TrustManager)targetDAS.getConnectionEnvironment().
get(DefaultConfiguration.TRUST_MANAGER_PROPERTY_NAME);
tlsParams = new TLSParams(trustManager, null);
}
dasConnection = new AppserverConnectionSource(
AppserverConnectionSource.PROTOCOL_HTTP,
targetDAS.getHostName(), targetDAS.getHostPort(),