public class LDAPCertStoreParameters extends Object implements CertStoreParameters
CertStore instance.| Constructor and Description |
|---|
LDAPCertStoreParameters()
Creates a new
LDAPCertStoreParameters instance with default
parameters. |
LDAPCertStoreParameters(String serverName)
Creates a new
LDAPCertStoreParameters instance with the specified
server name and default port 389. |
LDAPCertStoreParameters(String serverName,
int port)
Creates a new
LDAPCertStoreParameters instance with the specified
server name and port. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this
LDAPCertStoreParameters instance. |
int |
getPort()
Returns the LDAP server port.
|
String |
getServerName()
Returns the LDAP server name.
|
String |
toString()
Returns the string representation of this
LDAPCertStoreParameters
instance. |
public LDAPCertStoreParameters(String serverName, int port)
LDAPCertStoreParameters instance with the specified
server name and port.serverName - the LDAP server name.port - the port.NullPointerException - is serverName is null.public LDAPCertStoreParameters()
LDAPCertStoreParameters instance with default
parameters.
The default parameters are server name "localhost" and port 389.
public LDAPCertStoreParameters(String serverName)
LDAPCertStoreParameters instance with the specified
server name and default port 389.serverName - the LDAP server name.NullPointerException - if serverName is null.public Object clone()
LDAPCertStoreParameters instance.clone in interface CertStoreParametersclone in class Objectpublic int getPort()
public String getServerName()