remove non use constructor
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1814062734
commit
b776125532
|
@ -40,49 +40,23 @@ import java.util.Properties;
|
|||
public class ConfigurableLdapConnectionFactory
|
||||
implements LdapConnectionFactory
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private String hostname;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private int port;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private boolean ssl;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String baseDn;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String contextFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String bindDn;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String authenticationMethod;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Properties extraProperties;
|
||||
|
||||
private LdapConnectionConfiguration configuration;
|
||||
|
|
|
@ -72,36 +72,7 @@ public class LdapConnectionConfiguration
|
|||
|
||||
public LdapConnectionConfiguration()
|
||||
{
|
||||
}
|
||||
|
||||
public LdapConnectionConfiguration( String hostname, int port, LdapName baseDn, String contextFactory,
|
||||
LdapName bindDn, String password, String authenticationMethod,
|
||||
Properties extraProperties )
|
||||
throws LdapException
|
||||
{
|
||||
this.hostname = hostname;
|
||||
|
||||
this.port = port;
|
||||
|
||||
if ( baseDn != null )
|
||||
{
|
||||
this.baseDn = new LdapName( baseDn.getRdns() );
|
||||
}
|
||||
|
||||
this.contextFactory = contextFactory;
|
||||
|
||||
if ( bindDn != null )
|
||||
{
|
||||
this.bindDn = new LdapName( bindDn.getRdns() );
|
||||
}
|
||||
|
||||
this.password = password;
|
||||
|
||||
this.authenticationMethod = authenticationMethod;
|
||||
|
||||
this.extraProperties = extraProperties;
|
||||
|
||||
check();
|
||||
// no op
|
||||
}
|
||||
|
||||
public LdapConnectionConfiguration( String hostname, int port, String baseDn, String contextFactory, String bindDn,
|
||||
|
|
Loading…
Reference in New Issue