public class LdapContextSettings
extends java.lang.Object
| Constructor and Description |
|---|
LdapContextSettings() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCredential()
Returns the credential to be used for creating LDAP context.
|
java.lang.String |
getHost()
Returns the host name of the LDAP Server that is used
for creating LDAP context.
|
int |
getPort()
Returns the port number of the LDAP Server that is used
for creating LDAP context.
|
java.lang.String |
getPrincipal()
Returns the principal name to be used for creating LDAP
context.
|
boolean |
isSSLEnabled()
Returns whether SSL is enabled or not on LDAP Server.
|
void |
setCredential(java.lang.String string)
Sets the credential to be used for creating LDAP context.
|
void |
setHost(java.lang.String string)
Sets the host name of the LDAP Server that is used
for creating LDAP context.
|
void |
setPort(int i)
Sets the port number of the LDAP Server that is used
for creating LDAP context.
|
void |
setPrincipal(java.lang.String string)
Sets the principal name to be used for creating LDAP context.
|
void |
setSSLEnabled(boolean b)
Sets whether SSL is enabled or not on LDAP Server.
|
public java.lang.String getPrincipal()
public void setPrincipal(java.lang.String string)
string - the principal name to be usedpublic java.lang.String getCredential()
public void setCredential(java.lang.String string)
string - the credential to be usedpublic java.lang.String getHost()
public void setHost(java.lang.String string)
string - the host name of the LDAP Serverpublic int getPort()
public void setPort(int i)
i - the port number of the LDAP Server.public boolean isSSLEnabled()
public void setSSLEnabled(boolean b)
b - true, if SSL is enabled, otherwise false.