Package com.isode.dsapi
Class ReferralAddress
java.lang.Object
com.isode.dsapi.ReferralAddress
Class representing an address returned as one of the alternative locations
to try when a directory server returns a referral. This class corresponds
to the DSAPI DS_ReferralAddress structure
- Author:
- nh
-
Constructor Summary
ConstructorsConstructorDescriptionReferralAddress(Referral referral, String bindAddress, DN dsaDN) Constructor used by JNI -
Method Summary
-
Constructor Details
-
ReferralAddress
Constructor used by JNI- Parameters:
referral- Referral object to which this ReferralAddress belongsbindAddress- bind addressdsaDN- dsa DN (may be null)
-
-
Method Details
-
getBindAddress
Return the bind address for this referral address.- Returns:
- a String which will be suitable for using when establishing a new DirectorySession
- See Also:
-
getDsaDN
Return the DN of the DSA corresponding to this referral address. Since not all referrals include this information, the value returned may be null.- Returns:
- the DN of the DSA for this referral address, or null if none is available.
-
toString
Returns a string containing information about this address. bind address.
-