Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.security.cert
Class LDAPCertStoreParameters  view LDAPCertStoreParameters download LDAPCertStoreParameters.java

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

public class LDAPCertStoreParameters
extends java.lang.Object
implements CertStoreParameters

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


Field Summary
private static int LDAP_PORT
          The default LDAP port.
private  int port
          The LDAP port.
private  java.lang.String serverName
          The server name.
 
Constructor Summary
LDAPCertStoreParameters()
          Create a new LDAPCertStoreParameters object, with a servername of "localhost" and a port of 389.
LDAPCertStoreParameters(java.lang.String serverName)
          Create a new LDAPCertStoreParameters object, with a specified server name and a port of 389.
LDAPCertStoreParameters(java.lang.String serverName, int port)
          Create a new LDAPCertStoreParameters object, with a specified server name and port.
 
Method Summary
 java.lang.Object clone()
          Create a copy of these parameters.
 int getPort()
          Return the port.
 java.lang.String getServerName()
          Return the server name.
 java.lang.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
 

Field Detail

LDAP_PORT

private static final int LDAP_PORT
The default LDAP port.

See Also:
Constant Field Values

serverName

private final java.lang.String serverName
The server name.


port

private final int port
The LDAP port.

Constructor Detail

LDAPCertStoreParameters

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


LDAPCertStoreParameters

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


LDAPCertStoreParameters

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

Method Detail

clone

public java.lang.Object clone()
Description copied from interface: CertStoreParameters
Create a copy of these parameters.

Specified by:
clone in interface CertStoreParameters

getServerName

public java.lang.String getServerName()
Return the server name.


getPort

public int getPort()
Return the port.


toString

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