Class AbstractLdapConnection

    • Method Detail

      • bind

        public void bind​(Dn name)
                  throws LdapException
        Unauthenticated authentication bind on a server.
        Specified by:
        bind in interface LdapConnection
        Parameters:
        name - The name used to authenticate the user.
        Throws:
        LdapException - if some error occurred
      • bind

        public void bind​(String name)
                  throws LdapException
        Unauthenticated authentication bind on a server.
        Specified by:
        bind in interface LdapConnection
        Parameters:
        name - The name used to authenticate the user. It must be a valid distinguished name.
        Throws:
        LdapException - if some error occurred
      • bind

        public void bind​(String name,
                         String credentials)
                  throws LdapException
        Simple bind on a server.
        Specified by:
        bind in interface LdapConnection
        Parameters:
        name - The name used to authenticate the user. It must be a valid distinguished name.
        credentials - The password, it can't be null
        Throws:
        LdapException - if some error occurred
      • bind

        public void bind​(Dn name,
                         String credentials)
                  throws LdapException
        Simple bind on a server.
        Specified by:
        bind in interface LdapConnection
        Parameters:
        name - The name used to authenticate the user.
        credentials - The password, it can't be null
        Throws:
        LdapException - if some error occurred