public class LdapConnectionConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LDAP_HOST
The default host : localhost
|
static int |
DEFAULT_LDAP_PORT
Define the default ports for LDAP and LDAPS
|
static int |
DEFAULT_LDAPS_PORT |
static String |
DEFAULT_SSL_PROTOCOL
the default protocol used for creating SSL context
|
static long |
DEFAULT_TIMEOUT
The default timeout for operation : 30 seconds
|
static int |
LDAP_V3
The LDAP version
|
Constructor and Description |
---|
LdapConnectionConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getCredentials() |
String |
getDefaultLdapHost() |
int |
getDefaultLdapPort() |
int |
getDefaultLdapsPort() |
long |
getDefaultTimeout() |
KeyManager[] |
getKeyManagers() |
String |
getLdapHost() |
int |
getLdapPort() |
String |
getName() |
SecureRandom |
getSecureRandom() |
String |
getSslProtocol() |
int |
getSupportedLdapVersion() |
TrustManager[] |
getTrustManagers() |
boolean |
isUseSsl() |
void |
setCredentials(String credentials) |
void |
setKeyManagers(KeyManager[] keyManagers) |
void |
setLdapHost(String ldapHost) |
void |
setLdapPort(int ldapPort) |
void |
setName(String name) |
void |
setSecureRandom(SecureRandom secureRandom) |
void |
setSslProtocol(String sslProtocol) |
void |
setTrustManagers(TrustManager[] trustManagers) |
void |
setUseSsl(boolean useSsl) |
public static final int DEFAULT_LDAP_PORT
public static final int DEFAULT_LDAPS_PORT
public static final String DEFAULT_LDAP_HOST
public static int LDAP_V3
public static final long DEFAULT_TIMEOUT
public static final String DEFAULT_SSL_PROTOCOL
public boolean isUseSsl()
public void setUseSsl(boolean useSsl)
public int getLdapPort()
public void setLdapPort(int ldapPort)
public String getLdapHost()
public void setLdapHost(String ldapHost)
public String getName()
public void setName(String name)
public String getCredentials()
public void setCredentials(String credentials)
public int getDefaultLdapPort()
public int getDefaultLdapsPort()
public String getDefaultLdapHost()
public long getDefaultTimeout()
public int getSupportedLdapVersion()
public TrustManager[] getTrustManagers()
public void setTrustManagers(TrustManager[] trustManagers)
public String getSslProtocol()
public void setSslProtocol(String sslProtocol)
public KeyManager[] getKeyManagers()
public void setKeyManagers(KeyManager[] keyManagers)
public SecureRandom getSecureRandom()
public void setSecureRandom(SecureRandom secureRandom)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.