Class LDAPCertStoreParameters

    • Constructor Detail

      • LDAPCertStoreParameters

        public LDAPCertStoreParameters​(String serverName,
                                       int port)
        Creates a new LDAPCertStoreParameters instance with the specified server name and port.
        Parameters:
        serverName - the LDAP server name.
        port - the port.
        Throws:
        NullPointerException - is serverName is null.
      • LDAPCertStoreParameters

        public LDAPCertStoreParameters()
        Creates a new LDAPCertStoreParameters instance with default parameters.

        The default parameters are server name "localhost" and port 389.

      • LDAPCertStoreParameters

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

      • getPort

        public int getPort()
        Returns the LDAP server port.
        Returns:
        the LDAP server port.
      • getServerName

        public String getServerName()
        Returns the LDAP server name.
        Returns:
        the LDAP server name.
      • toString

        public String toString()
        Returns the string representation of this LDAPCertStoreParameters instance.
        Overrides:
        toString in class Object
        Returns:
        the string representation of this LDAPCertStoreParameters instance.