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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.