com.netscape.jndi.ldap
Class ContextEnv.ReferralRebindProc

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

static class ContextEnv.ReferralRebindProc
extends java.lang.Object
implements LDAPRebind

Implementation for LDAPRebind interface. Provide user name, password to autenticate with the referred to directory server.


Field Summary
(package private)  LDAPRebindAuth auth
           
 
Constructor Summary
ContextEnv.ReferralRebindProc(java.lang.String user, java.lang.String passwd)
           
 
Method Summary
 LDAPRebindAuth getRebindAuthentication(java.lang.String host, int port)
          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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

auth

LDAPRebindAuth auth
Constructor Detail

ContextEnv.ReferralRebindProc

public ContextEnv.ReferralRebindProc(java.lang.String user,
                                     java.lang.String passwd)
Method Detail

getRebindAuthentication

public LDAPRebindAuth getRebindAuthentication(java.lang.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:
LDAPRebindAuth