IT. Expert System.

Java Standard Edition (SE)

LDAPCertStoreParameters


compact1, compact2, compact3
java.security.cert

Class LDAPCertStoreParameters

  • All Implemented Interfaces:
    Cloneable, CertStoreParameters


    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.

    Since:
    1.4
    See Also:
    CertStore
    • Constructor Detail

      • LDAPCertStoreParameters

        public LDAPCertStoreParameters(String serverName,
                                       int port)
        Creates an instance of LDAPCertStoreParameters with the specified parameter values.
        Parameters:
        serverName - the DNS name of the LDAP server
        port - the port number of the LDAP server
        Throws:
        NullPointerException - if serverName is null
      • LDAPCertStoreParameters

        public LDAPCertStoreParameters(String serverName)
        Creates an instance of LDAPCertStoreParameters with the specified server name and a default port of 389.
        Parameters:
        serverName - the DNS name of the LDAP server
        Throws:
        NullPointerException - if serverName is null
      • LDAPCertStoreParameters

        public LDAPCertStoreParameters()
        Creates an instance of LDAPCertStoreParameters with the default parameter values (server name "localhost", port 389).
    • Method Detail

      • getServerName

        public String getServerName()
        Returns the DNS name of the LDAP server.
        Returns:
        the name (not null)
      • getPort

        public int getPort()
        Returns the port number of the LDAP server.
        Returns:
        the port number
      • clone

        public Object clone()
        Returns a copy of this object. Changes to the copy will not affect the original and vice versa.

        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.

        Specified by:
        clone in interface CertStoreParameters
        Overrides:
        clone in class Object
        Returns:
        the copy
        See Also:
        Cloneable
      • toString

        public String toString()
        Returns a formatted string describing the parameters.
        Overrides:
        toString in class Object
        Returns:
        a formatted string describing the parameters


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 276 / 158861549. Delta: 0.03824 с