com.novell.ldap.rfc2251
Class RfcReferral
java.lang.Object
com.novell.ldap.asn1.ASN1Object
com.novell.ldap.asn1.ASN1Structured
com.novell.ldap.asn1.ASN1SequenceOf
com.novell.ldap.rfc2251.RfcReferral
- All Implemented Interfaces:
- java.io.Serializable
public class RfcReferral
- extends ASN1SequenceOf
Represents an LDAP Referral.
Referral ::= SEQUENCE OF LDAPURL
- See Also:
- Serialized Form
Constructor Summary |
RfcReferral(ASN1Decoder dec,
java.io.InputStream in,
int len)
The only time a Referral object is constructed, is when we are
decoding an RfcLDAPResult or COMPONENTS OF RfcLDAPResult. |
RfcReferral(java.lang.String[] value)
This construtor is used when creating LDAPResponse directly and not from
the stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RfcReferral
public RfcReferral(ASN1Decoder dec,
java.io.InputStream in,
int len)
throws java.io.IOException
- The only time a Referral object is constructed, is when we are
decoding an RfcLDAPResult or COMPONENTS OF RfcLDAPResult.
- Throws:
java.io.IOException
RfcReferral
public RfcReferral(java.lang.String[] value)
throws java.net.MalformedURLException
- This construtor is used when creating LDAPResponse directly and not from
the stream.
- Parameters:
value
- This array of Referrals [LDAPURL]
- Throws:
java.net.MalformedURLException
- Note:Limitation The ldapurl specified to this constructor should
have a dn part to it i.e ldap://www.nldap.com/cn=admin,o=acme is
allowed but ldap://www.nldap.com is not allowed.
Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000