aicas logo Jamaica 3.4 release 8

java.security.cert
Class LDAPCertStoreParameters

java.lang.Object
  extended by java.security.cert.LDAPCertStoreParameters
All Implemented Interfaces:
Cloneable, CertStoreParameters

public class LDAPCertStoreParameters
extends Object
implements CertStoreParameters

Parameters for CertStores that are retrieved via the lightweight directory access protocol (LDAP).

See Also:
CertStore

Constructor Summary
LDAPCertStoreParameters()
          Create a new LDAPCertStoreParameters object, with a servername of "localhost" and a port of 389.
LDAPCertStoreParameters(String serverName)
          Create a new LDAPCertStoreParameters object, with a specified server name and a port of 389.
LDAPCertStoreParameters(String serverName, int port)
          Create a new LDAPCertStoreParameters object, with a specified server name and port.
 
Method Summary
 Object clone()
          clone creates a shallow clone of this.
 int getPort()
          Return the port.
 String getServerName()
          Return the server name.
 String toString()
          Return a string representation of these parameters.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LDAPCertStoreParameters

public LDAPCertStoreParameters()
Create a new LDAPCertStoreParameters object, with a servername of "localhost" and a port of 389.


LDAPCertStoreParameters

public LDAPCertStoreParameters(String serverName)
Create a new LDAPCertStoreParameters object, with a specified server name and a port of 389.

Parameters:
serverName - The LDAP server name.
Throws:
NullPointerException - If serverName is null.

LDAPCertStoreParameters

public LDAPCertStoreParameters(String serverName,
                               int port)
Create a new LDAPCertStoreParameters object, with a specified server name and port.

Parameters:
serverName - The LDAP server name.
port - The LDAP port.
Throws:
NullPointerException - If serverName is null.
Method Detail

clone

public Object clone()
Description copied from class: Object
clone creates a shallow clone of this.

Specified by:
clone in interface CertStoreParameters
Overrides:
clone in class Object
Returns:
a clone of this object.

getServerName

public String getServerName()
Return the server name.

Returns:
The server name.

getPort

public int getPort()
Return the port.

Returns:
the port.

toString

public String toString()
Return a string representation of these parameters.

Overrides:
toString in class Object
Returns:
The string representation of these parameters.

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.