* into an URI
*/
protected ConnectionConfiguration getConnectionConfiguration()
throws URISyntaxException {
PreferenceUtils preferenceUtils = this.sarosContext
.getComponent(PreferenceUtils.class);
String serverString = preferenceUtils.getServer();
URI uri;
uri = (serverString.matches("://")) ? new URI(serverString) : new URI( //$NON-NLS-1$
"jabber://" + serverString); //$NON-NLS-1$
String server = uri.getHost();
if (server == null) {
throw new URISyntaxException(preferenceUtils.getServer(),
"The XMPP/Jabber server address is invalid: " + serverString); //$NON-NLS-1$
}
ProxyInfo proxyInfo = getProxyInfo(uri.getHost());
ConnectionConfiguration conConfig = null;