Previous Topic: How To Test a ConnectionNext Topic: Implementing in Java or JavaScript Considerations


Writing Scripts

This chapter describes how logic written in scripts can be used to customize the logic of an existing connector (for example, like a program exit) or write a complete connector. For example, like the SDKSCRIPT connector included in this SDK. In both cases, the logic is bound to the processing of LDAP operations (ADD/MODIFY and such) using opbindings metadata documents with script payloads.

Note: For more information see, Metadata Syntaxes.

The chapter precedes sections that describe each area of connector implementation, as the content of these chapters is largely independent of whether you implement in Java or JavaScript.

This section contains the following topics:

Implementing in Java or JavaScript Considerations

How You Pass Data to and from Scripts

Exception Handling In Scripts

Scripted Opbindings Debugging

LOOKUP and SEARCH Query Operations through Script Opbindings Considerations

Simplify Opbindings When Post-processing LOOKUP and SEARCH Results

Example JNDI Opbindings

Pure Scripted Connectors

Scripted Logic Update Considerations