And Now for Something Completely Different: Extended Operations

The section on controls earlier in this chapter showed how you can modify or extend the behavior of the standard LDAPv3 operations by including controls in the requests—provided that the server supports the particular controls. LDAPv3 goes one step further: it allows you to execute arbitrary requests as extended operations.

An extended operation is simply a request that contains arbitrary user-defined data and a response containing arbitrary data from the server. You could use it to turn your LDAP server into a controller for your household appliances and define commands for turning on the microwave and checking the temperature in the oven. But that's not really the intended use ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.