LDAP Classes
Implements Java LDAP

com.novell.ldap.extensions
Class LDAPBackupRequest

java.lang.Object
  extended bycom.novell.ldap.LDAPExtendedOperation
      extended bycom.novell.ldap.extensions.LDAPBackupRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.io.Serializable

public class LDAPBackupRequest
extends LDAPExtendedOperation

This class provides an LDAP interface for object based backup of eDirectory objects. The backup API not only get the objects but all the DS level attributes associated with the objects.

The information available includes such items as modification timestamp, revision,data blob consisting of backup data of any eDirectory Object. The API support backing of both non-encrypted and encrypted objects

To get information about any eDirectory Object, you must create an instance of this class and then call the extendedOperation method with this object as the required LDAPExtendedOperation parameter.

The getLDAPBackupRequest extension uses the following OID:
   2.16.840.1.113719.1.27.100.96


The requestValue has the following format:
requestValue ::=
     objectDN    LDAPDN
     mts(modification timestamp) INTEGER
     revision    INTEGER
     passwd    OCTET STRING

See Also:
Serialized Form

Constructor Summary
LDAPBackupRequest(java.lang.String objectDN, byte[] passwd, java.lang.String stateInfo)
          Constructs an extended operations object for getting data about any Object.
 
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

LDAPBackupRequest

public LDAPBackupRequest(java.lang.String objectDN,
                         byte[] passwd,
                         java.lang.String stateInfo)
                  throws LDAPException
Constructs an extended operations object for getting data about any Object.

Parameters:
objectDN - The DN of the object to be backed up
passwd - The encrypted password required for the object to be backed up
stateInfo - The state information of the object to backup. This parameter is a String which contains combination of modification timestamp and revision number of object being backed up. The format of both modification time stamp and revision should pertain to eDirectoty standard format of taking modification timestamp and revision. Separator being used between these two is a '+' character.
Throws:
LDAPException - A general exception which includes an error message and an LDAP error code.

LDAP Classes
Implements Java LDAP

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