|
Préférences
Moteurs de recherche
|
||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
java.security.cert
|
Constructor Summary | |
---|---|
LDAPCertStoreParameters()
Creates an instance of LDAPCertStoreParameters with the
default parameter values (server name "localhost", port 389). |
|
LDAPCertStoreParameters(String serverName)
Creates an instance of LDAPCertStoreParameters with the
specified server name and a default port of 389. |
|
LDAPCertStoreParameters(String serverName,
int port)
Creates an instance of LDAPCertStoreParameters with the
specified parameter values. |
Method Summary | |
---|---|
Object |
clone()
Returns a copy of this object. |
int |
getPort()
Returns the port number of the LDAP server. |
String |
getServerName()
Returns the DNS name of the LDAP server. |
String |
toString()
Returns a formatted string describing the parameters. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LDAPCertStoreParameters(String serverName, int port)
LDAPCertStoreParameters
with the
specified parameter values.
serverName
- the DNS name of the LDAP serverport
- the port number of the LDAP server
NullPointerException
- if serverName
is
null
public LDAPCertStoreParameters(String serverName)
LDAPCertStoreParameters
with the
specified server name and a default port of 389.
serverName
- the DNS name of the LDAP server
NullPointerException
- if serverName
is
null
public LDAPCertStoreParameters()
LDAPCertStoreParameters
with the
default parameter values (server name "localhost", port 389).
Method Detail |
---|
public String getServerName()
null
)public int getPort()
public Object clone()
Note: this method currently performs a shallow copy of the object
(simply calls Object.clone()
). This may be changed in a
future revision to perform a deep copy if new parameters are added
that should not be shared.
clone
in interface CertStoreParameters
clone
in class Object
Cloneable
public String toString()