ConnectionParameterPage[] connectionParameterPages = ConnectionParameterPageManager
.getConnectionParameterPages();
for ( Connection connection : connections )
{
ConnectionParameter parameter = connection.getConnectionParameter();
LdapURL ldapUrl = new LdapURL();
ldapUrl.setDn( LdapDN.EMPTY_LDAPDN );
for ( ConnectionParameterPage connectionParameterPage : connectionParameterPages )
{
connectionParameterPage.mergeParametersToLdapURL( parameter, ldapUrl );
}
sb.append( ldapUrl.toString() );
sb.append( ConnectionCoreConstants.LINE_SEPARATOR );
}
return sb.toString();
}