All LDAP Classes
Internal LDAP Classes

com.novell.ldap.extensions
Class GetBindDNRequest

java.lang.Object
  extended by com.novell.ldap.LDAPExtendedOperation
      extended by com.novell.ldap.extensions.GetBindDNRequest
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable

public class GetBindDNRequest
extends LDAPExtendedOperation

Returns the distingusihed name of the object your are logged in as.

To use this class, you must create an instance of the class and then call the extendedOperation method with this object as the required LDAPExtendedOperation parameter.

The returned LDAPExtendedResponse object can then be converted to a GetBindDNResponse object with the ExtendedREsponseFactory class. This object contains methods for retrieving the distinguished name.

The GetBindDNRequest extension uses the following OID:
   2.16.840.1.113719.1.27.100.31

The request value has a value of null.

See Also:
Serialized Form

Constructor Summary
GetBindDNRequest()
          Constructs an extended operation object for retrieving the bind dn.
 
Method Summary
 
Methods inherited from class com.novell.ldap.LDAPExtendedOperation
clone, getID, getValue, readDSML, readExternal, setID, setValue, toString, writeDSML, writeExternal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetBindDNRequest

public GetBindDNRequest()
                 throws LDAPException
Constructs an extended operation object for retrieving the bind dn.

Throws:
LDAPException - A general exception which includes an error message and an LDAP error code.

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000