Class ContextEnv.ReferralRebindProc

java.lang.Object
com.netscape.jndi.ldap.ContextEnv.ReferralRebindProc
All Implemented Interfaces:
LDAPRebind
Enclosing class:
ContextEnv

static class ContextEnv.ReferralRebindProc extends Object implements LDAPRebind
Implementation for LDAPRebind interface. Provide user name, password to autenticate with the referred to directory server.
  • Field Details

  • Constructor Details

    • ReferralRebindProc

      public ReferralRebindProc(String user, String passwd)
  • Method Details

    • getRebindAuthentication

      public LDAPRebindAuth getRebindAuthentication(String host, int port)
      Description copied from interface: LDAPRebind
      Returns an LDAPRebindAuth object, which the calling function can use to get the DN and password to use for authentication (if the client is set up to follow referrals automatically).
      Specified by:
      getRebindAuthentication in interface LDAPRebind
      Returns:
      LDAPRebindAuth object containing authentication information.
      See Also: