| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class LDAPCertStoreParameters extends Object implements CertStoreParameters
Parameters used as input for the LDAP CertStore
algorithm.
This class is used to provide necessary configuration parameters (server
name and port number) to implementations of the LDAP CertStore
algorithm.
Concurrent Access
Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.
Constructor Summary | |
---|---|
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 |
Returns the DNS name of the LDAP server. |
String |
toString() Returns a formatted string describing the parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDAPCertStoreParameters()
LDAPCertStoreParameters
with the
default parameter values (server name "localhost", port 389).
public LDAPCertStoreParameters(String serverName)
LDAPCertStoreParameters
with the
specified server name and a default port of 389.
serverName
- the DNS name of the LDAP serverpublic 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 serverMethod Detail |
---|
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 class Object
public int getPort()
public String getServerName()
null
)public String toString()
toString
in class Object
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |