|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.LDAPExtendedOperation com.novell.ldap.extensions.LDAPRestoreRequest
This class provides an LDAP interface for object based restore of eDirectory objects.
The information need for restore includes such items as object DN, data buffer length, string containing the number of chunks and each chunk elements representing the size of each chunk, data blob in byte[]. The API support restoring of both non-encrypted and encrypted objects.
To send this request to eDirectory, you must create an instance of this class and then call the extendedOperation method with this object as the required LDAPExtendedOperation parameter.
The getLDAPRestoreRequest extension uses the following OID:
2.16.840.1.113719.1.27.100.98
The requestValue has the following format:
requestValue ::=
objectDN ::= LDAPDN
passwd ::= OCTET STRING
bufferLength ::= INTEGER
retunedBuffer::= OCTET STRING
dataChunkSizes ::=
SEQUENCE {
noOfChunks INTEGER
SET of [
SEQUENCE of {eacChunksize INTEGER}]
}
Constructor Summary | |
LDAPRestoreRequest(java.lang.String objectDN,
byte[] passwd,
int bufferLength,
java.lang.String chunkSizesString,
byte[] returnedBuffer)
Constructs an extended operations object which contains the ber encoded restore data. |
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 |
public LDAPRestoreRequest(java.lang.String objectDN, byte[] passwd, int bufferLength, java.lang.String chunkSizesString, byte[] returnedBuffer) throws LDAPException
objectDN
- The object DN to restore
passwd
- The encrypted password required for the object to
be backed up
bufferLength
- The length of backed up data
chunkSizesString
- The String containing number of chunks and
each chunk elements representing chunk sizes
returnedBuffer
- The actual data in byte[]
LDAPException
- A general exception which includes an error
message and an LDAP error code.
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |