return appearing.get();
}
return futureConnection.get();
}
public IoFuture<Connection> connect(final URI destination, final OptionMap connectOptions) throws IOException {
<BUG>return connect(destination, connectOptions, AuthenticationContext.captureCurrent(), SaslClientFactoryHolder.STANDARD_SASL_CLIENT_FACTORY);
</BUG>
}
public IoFuture<Connection> connect(final URI destination, final OptionMap connectOptions, SaslClientFactory saslClientFactory) throws IOException {
return connect(destination, connectOptions, AuthenticationContext.captureCurrent(), saslClientFactory);

return appearing.get();
}
return futureConnection.get();
}
public IoFuture<Connection> connect(final URI destination, final OptionMap connectOptions) throws IOException {
return connect(destination, connectOptions, AuthenticationContext.captureCurrent(), SaslFactories.getElytronSaslClientFactory());
}
public IoFuture<Connection> connect(final URI destination, final OptionMap connectOptions, SaslClientFactory saslClientFactory) throws IOException {
return connect(destination, connectOptions, AuthenticationContext.captureCurrent(), saslClientFactory);
