public Connection( String name, String host, int port, int encryptionMethod, boolean fetchBaseDNs, DN baseDN,
int countLimit, int timeLimit, int aliasesDereferencingMethod, int referralsHandlingMethod, int authMethod,
String bindPrincipal, String bindPassword )
{
this.connectionParameter = new ConnectionParameter();
this.connectionParameter.setName( name );
this.connectionParameter.setHost( host );
this.connectionParameter.setPort( port );
this.connectionParameter.setEncryptionMethod( encryptionMethod );
this.connectionParameter.setCountLimit( countLimit );