com.novell.nds.dirxml.ldap
Class DirXMLExtensions

java.lang.Object
  extended bycom.novell.nds.dirxml.ldap.DirXMLExtensions

public abstract class DirXMLExtensions
extends Object

Utility class for DirXML LDAP extensions. Call initialize to register the response extensions.


Field Summary
static String ABORT_JOB_REQ
           
static String ABORT_JOB_RSP
           
static String CHECK_JOB_CONFIG_REQ
           
static String CHECK_JOB_CONFIG_RSP
           
static String CHECK_OBJECT_PASSWORD_REQ
           
static String CHECK_OBJECT_PASSWORD_RSP
           
static String CLEAR_APP_PASSWORD_REQ
           
static String CLEAR_APP_PASSWORD_RSP
           
static String CLEAR_DRIVER_SET_REQ
           
static String CLEAR_DRIVER_SET_RSP
           
static String CLEAR_LOG_EVENTS_REQ
           
static String CLEAR_LOG_EVENTS_RSP
           
static String CLEAR_REMOTE_LOADER_PASSWORD_REQ
           
static String CLEAR_REMOTE_LOADER_PASSWORD_RSP
           
static String CLOSE_CHUNKED_RESULT_REQ
           
static String CLOSE_CHUNKED_RESULT_RSP
           
static String DELETE_CACHE_ENTRIES_REQ
           
static String DELETE_CACHE_ENTRIES_RSP
           
static String DISCOVER_JOBS_REQ
           
static String DISCOVER_JOBS_RSP
           
static String DRIVER_GET_SCHEMA_REQ
           
static String DRIVER_GET_SCHEMA_RSP
           
static String DRIVER_RESYNC_REQ
           
static String DRIVER_RESYNC_RSP
           
static String GET_CHUNKED_RESULT_REQ
           
static String GET_CHUNKED_RESULT_RSP
           
static String GET_DRIVER_SET_REQ
           
static String GET_DRIVER_SET_RSP
           
static String GET_DRIVER_START_OPTION_REQ
           
static String GET_DRIVER_START_OPTION_RSP
           
static String GET_DRIVER_STATE_REQ
           
static String GET_DRIVER_STATE_RSP
           
static String GET_DRIVER_STATS_REQ
           
static String GET_DRIVER_STATS_RSP
           
static String GET_JOB_STATE_REQ
           
static String GET_JOB_STATE_RSP
           
static String GET_PASSWORDS_STATE_REQ
           
static String GET_PASSWORDS_STATE_RSP
           
static String GET_SERVER_CERT_REQ
           
static String GET_SERVER_CERT_RSP
           
static String GET_VERSION_REQ
           
static String GET_VERSION_RSP
           
static String INIT_DRIVER_OBJECT_REQ
           
static String INIT_DRIVER_OBJECT_RSP
           
static String LIST_NAMED_PASSWORDS_REQ
           
static String LIST_NAMED_PASSWORDS_RSP
           
static String MIGRATE_APP_REQ
           
static String MIGRATE_APP_RSP
           
static String NOTIFY_JOB_UPDATE_REQ
           
static String NOTIFY_JOB_UPDATE_RSP
           
static String OID_BASE
           
static String QUEUE_EVENT_REQ
           
static String QUEUE_EVENT_RSP
           
static String REGENERATE_KEY_REQ
           
static String REGENERATE_KEY_RSP
           
static String REMOVE_ALL_NAMED_PASSWORDS_REQ
           
static String REMOVE_ALL_NAMED_PASSWORDS_RSP
           
static String REMOVE_NAMED_PASSWORD_REQ
           
static String REMOVE_NAMED_PASSWORD_RSP
           
static String SET_APP_PASSWORD_REQ
           
static String SET_APP_PASSWORD_RSP
           
static String SET_DRIVER_SET_REQ
           
static String SET_DRIVER_SET_RSP
           
static String SET_DRIVER_START_OPTION_REQ
           
static String SET_DRIVER_START_OPTION_RSP
           
static String SET_LOG_EVENTS_REQ
           
static String SET_LOG_EVENTS_RSP
           
static String SET_NAMED_PASSWORD_REQ
           
static String SET_NAMED_PASSWORD_RSP
           
static String SET_REMOTE_LOADER_PASSWORD_REQ
           
static String SET_REMOTE_LOADER_PASSWORD_RSP
           
static String START_DRIVER_REQ
           
static String START_DRIVER_RSP
           
static String START_JOB_REQ
           
static String START_JOB_RSP
           
static String STOP_DRIVER_REQ
           
static String STOP_DRIVER_RSP
           
static String SUBMIT_COMMAND_REQ
           
static String SUBMIT_COMMAND_RSP
           
static String SUBMIT_EVENT_REQ
           
static String SUBMIT_EVENT_RSP
           
static String VIEW_CACHE_ENTRIES_REQ
           
static String VIEW_CACHE_ENTRIES_RSP
           
 
Constructor Summary
DirXMLExtensions()
           
 
Method Summary
static byte[] encodeData(Object[] items)
          Generic encoding method for encoding LDAP request data into LBER format.
static String getOID(String finalNumber)
          Utility method to return a request or response OID based on the last number in the OID.
static void initialize()
          Perform package initialization for the com.novell.nds.dirxml.ldap package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OID_BASE

public static final String OID_BASE
See Also:
Constant Field Values

GET_DRIVER_SET_REQ

public static final String GET_DRIVER_SET_REQ
See Also:
Constant Field Values

GET_DRIVER_SET_RSP

public static final String GET_DRIVER_SET_RSP
See Also:
Constant Field Values

SET_DRIVER_SET_REQ

public static final String SET_DRIVER_SET_REQ
See Also:
Constant Field Values

SET_DRIVER_SET_RSP

public static final String SET_DRIVER_SET_RSP
See Also:
Constant Field Values

CLEAR_DRIVER_SET_REQ

public static final String CLEAR_DRIVER_SET_REQ
See Also:
Constant Field Values

CLEAR_DRIVER_SET_RSP

public static final String CLEAR_DRIVER_SET_RSP
See Also:
Constant Field Values

GET_DRIVER_START_OPTION_REQ

public static final String GET_DRIVER_START_OPTION_REQ
See Also:
Constant Field Values

GET_DRIVER_START_OPTION_RSP

public static final String GET_DRIVER_START_OPTION_RSP
See Also:
Constant Field Values

SET_DRIVER_START_OPTION_REQ

public static final String SET_DRIVER_START_OPTION_REQ
See Also:
Constant Field Values

SET_DRIVER_START_OPTION_RSP

public static final String SET_DRIVER_START_OPTION_RSP
See Also:
Constant Field Values

GET_VERSION_REQ

public static final String GET_VERSION_REQ
See Also:
Constant Field Values

GET_VERSION_RSP

public static final String GET_VERSION_RSP
See Also:
Constant Field Values

GET_DRIVER_STATE_REQ

public static final String GET_DRIVER_STATE_REQ
See Also:
Constant Field Values

GET_DRIVER_STATE_RSP

public static final String GET_DRIVER_STATE_RSP
See Also:
Constant Field Values

START_DRIVER_REQ

public static final String START_DRIVER_REQ
See Also:
Constant Field Values

START_DRIVER_RSP

public static final String START_DRIVER_RSP
See Also:
Constant Field Values

STOP_DRIVER_REQ

public static final String STOP_DRIVER_REQ
See Also:
Constant Field Values

STOP_DRIVER_RSP

public static final String STOP_DRIVER_RSP
See Also:
Constant Field Values

GET_DRIVER_STATS_REQ

public static final String GET_DRIVER_STATS_REQ
See Also:
Constant Field Values

GET_DRIVER_STATS_RSP

public static final String GET_DRIVER_STATS_RSP
See Also:
Constant Field Values

DRIVER_GET_SCHEMA_REQ

public static final String DRIVER_GET_SCHEMA_REQ
See Also:
Constant Field Values

DRIVER_GET_SCHEMA_RSP

public static final String DRIVER_GET_SCHEMA_RSP
See Also:
Constant Field Values

DRIVER_RESYNC_REQ

public static final String DRIVER_RESYNC_REQ
See Also:
Constant Field Values

DRIVER_RESYNC_RSP

public static final String DRIVER_RESYNC_RSP
See Also:
Constant Field Values

MIGRATE_APP_REQ

public static final String MIGRATE_APP_REQ
See Also:
Constant Field Values

MIGRATE_APP_RSP

public static final String MIGRATE_APP_RSP
See Also:
Constant Field Values

QUEUE_EVENT_REQ

public static final String QUEUE_EVENT_REQ
See Also:
Constant Field Values

QUEUE_EVENT_RSP

public static final String QUEUE_EVENT_RSP
See Also:
Constant Field Values

SUBMIT_COMMAND_REQ

public static final String SUBMIT_COMMAND_REQ
See Also:
Constant Field Values

SUBMIT_COMMAND_RSP

public static final String SUBMIT_COMMAND_RSP
See Also:
Constant Field Values

SUBMIT_EVENT_REQ

public static final String SUBMIT_EVENT_REQ
See Also:
Constant Field Values

SUBMIT_EVENT_RSP

public static final String SUBMIT_EVENT_RSP
See Also:
Constant Field Values

GET_CHUNKED_RESULT_REQ

public static final String GET_CHUNKED_RESULT_REQ
See Also:
Constant Field Values

GET_CHUNKED_RESULT_RSP

public static final String GET_CHUNKED_RESULT_RSP
See Also:
Constant Field Values

CLOSE_CHUNKED_RESULT_REQ

public static final String CLOSE_CHUNKED_RESULT_REQ
See Also:
Constant Field Values

CLOSE_CHUNKED_RESULT_RSP

public static final String CLOSE_CHUNKED_RESULT_RSP
See Also:
Constant Field Values

CHECK_OBJECT_PASSWORD_REQ

public static final String CHECK_OBJECT_PASSWORD_REQ
See Also:
Constant Field Values

CHECK_OBJECT_PASSWORD_RSP

public static final String CHECK_OBJECT_PASSWORD_RSP
See Also:
Constant Field Values

INIT_DRIVER_OBJECT_REQ

public static final String INIT_DRIVER_OBJECT_REQ
See Also:
Constant Field Values

INIT_DRIVER_OBJECT_RSP

public static final String INIT_DRIVER_OBJECT_RSP
See Also:
Constant Field Values

VIEW_CACHE_ENTRIES_REQ

public static final String VIEW_CACHE_ENTRIES_REQ
See Also:
Constant Field Values

VIEW_CACHE_ENTRIES_RSP

public static final String VIEW_CACHE_ENTRIES_RSP
See Also:
Constant Field Values

DELETE_CACHE_ENTRIES_REQ

public static final String DELETE_CACHE_ENTRIES_REQ
See Also:
Constant Field Values

DELETE_CACHE_ENTRIES_RSP

public static final String DELETE_CACHE_ENTRIES_RSP
See Also:
Constant Field Values

GET_PASSWORDS_STATE_REQ

public static final String GET_PASSWORDS_STATE_REQ
See Also:
Constant Field Values

GET_PASSWORDS_STATE_RSP

public static final String GET_PASSWORDS_STATE_RSP
See Also:
Constant Field Values

REGENERATE_KEY_REQ

public static final String REGENERATE_KEY_REQ
See Also:
Constant Field Values

REGENERATE_KEY_RSP

public static final String REGENERATE_KEY_RSP
See Also:
Constant Field Values

GET_SERVER_CERT_REQ

public static final String GET_SERVER_CERT_REQ
See Also:
Constant Field Values

GET_SERVER_CERT_RSP

public static final String GET_SERVER_CERT_RSP
See Also:
Constant Field Values

DISCOVER_JOBS_REQ

public static final String DISCOVER_JOBS_REQ
See Also:
Constant Field Values

DISCOVER_JOBS_RSP

public static final String DISCOVER_JOBS_RSP
See Also:
Constant Field Values

NOTIFY_JOB_UPDATE_REQ

public static final String NOTIFY_JOB_UPDATE_REQ
See Also:
Constant Field Values

NOTIFY_JOB_UPDATE_RSP

public static final String NOTIFY_JOB_UPDATE_RSP
See Also:
Constant Field Values

START_JOB_REQ

public static final String START_JOB_REQ
See Also:
Constant Field Values

START_JOB_RSP

public static final String START_JOB_RSP
See Also:
Constant Field Values

ABORT_JOB_REQ

public static final String ABORT_JOB_REQ
See Also:
Constant Field Values

ABORT_JOB_RSP

public static final String ABORT_JOB_RSP
See Also:
Constant Field Values

GET_JOB_STATE_REQ

public static final String GET_JOB_STATE_REQ
See Also:
Constant Field Values

GET_JOB_STATE_RSP

public static final String GET_JOB_STATE_RSP
See Also:
Constant Field Values

CHECK_JOB_CONFIG_REQ

public static final String CHECK_JOB_CONFIG_REQ
See Also:
Constant Field Values

CHECK_JOB_CONFIG_RSP

public static final String CHECK_JOB_CONFIG_RSP
See Also:
Constant Field Values

SET_LOG_EVENTS_REQ

public static final String SET_LOG_EVENTS_REQ
See Also:
Constant Field Values

SET_LOG_EVENTS_RSP

public static final String SET_LOG_EVENTS_RSP
See Also:
Constant Field Values

CLEAR_LOG_EVENTS_REQ

public static final String CLEAR_LOG_EVENTS_REQ
See Also:
Constant Field Values

CLEAR_LOG_EVENTS_RSP

public static final String CLEAR_LOG_EVENTS_RSP
See Also:
Constant Field Values

SET_APP_PASSWORD_REQ

public static final String SET_APP_PASSWORD_REQ
See Also:
Constant Field Values

SET_APP_PASSWORD_RSP

public static final String SET_APP_PASSWORD_RSP
See Also:
Constant Field Values

CLEAR_APP_PASSWORD_REQ

public static final String CLEAR_APP_PASSWORD_REQ
See Also:
Constant Field Values

CLEAR_APP_PASSWORD_RSP

public static final String CLEAR_APP_PASSWORD_RSP
See Also:
Constant Field Values

SET_REMOTE_LOADER_PASSWORD_REQ

public static final String SET_REMOTE_LOADER_PASSWORD_REQ
See Also:
Constant Field Values

SET_REMOTE_LOADER_PASSWORD_RSP

public static final String SET_REMOTE_LOADER_PASSWORD_RSP
See Also:
Constant Field Values

CLEAR_REMOTE_LOADER_PASSWORD_REQ

public static final String CLEAR_REMOTE_LOADER_PASSWORD_REQ
See Also:
Constant Field Values

CLEAR_REMOTE_LOADER_PASSWORD_RSP

public static final String CLEAR_REMOTE_LOADER_PASSWORD_RSP
See Also:
Constant Field Values

SET_NAMED_PASSWORD_REQ

public static final String SET_NAMED_PASSWORD_REQ
See Also:
Constant Field Values

SET_NAMED_PASSWORD_RSP

public static final String SET_NAMED_PASSWORD_RSP
See Also:
Constant Field Values

REMOVE_NAMED_PASSWORD_REQ

public static final String REMOVE_NAMED_PASSWORD_REQ
See Also:
Constant Field Values

REMOVE_NAMED_PASSWORD_RSP

public static final String REMOVE_NAMED_PASSWORD_RSP
See Also:
Constant Field Values

REMOVE_ALL_NAMED_PASSWORDS_REQ

public static final String REMOVE_ALL_NAMED_PASSWORDS_REQ
See Also:
Constant Field Values

REMOVE_ALL_NAMED_PASSWORDS_RSP

public static final String REMOVE_ALL_NAMED_PASSWORDS_RSP
See Also:
Constant Field Values

LIST_NAMED_PASSWORDS_REQ

public static final String LIST_NAMED_PASSWORDS_REQ
See Also:
Constant Field Values

LIST_NAMED_PASSWORDS_RSP

public static final String LIST_NAMED_PASSWORDS_RSP
See Also:
Constant Field Values
Constructor Detail

DirXMLExtensions

public DirXMLExtensions()
Method Detail

initialize

public static void initialize()
Perform package initialization for the com.novell.nds.dirxml.ldap package.

Call this to register the various response classes for DirXML extended LDAP operations.


getOID

public static String getOID(String finalNumber)
Utility method to return a request or response OID based on the last number in the OID.

Parameters:
finalNumber - last number of OID (e.g., GET_DRIVER_SET_REQ)
Returns:
complete OID string

encodeData

public static byte[] encodeData(Object[] items)
                         throws LDAPLocalException
Generic encoding method for encoding LDAP request data into LBER format.

Each element of the items parameter is encoded as follows according to type:

String:
ASN1OctetString
char []:
ASN1OctetString
byte []:
ASN1OctetString
Integer:
ASN1Integer
int []:
ASN1SetOf:ASN1Integer
null:
ASN1OctetString

Parameters:
items - array of items to be encoded in order
Returns:
encoded data
Throws:
LDAPLocalException - thrown if something goes wrong during encoding