O'Reilly logo

LDAP Programming with Java™ by Tony Dahbura, Rob Weltman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required