Chapter 8. More Power to the Browser: An Applet That Speaks LDAP

One of the advantages of using Java is that you can write an LDAP client that runs as an applet within a browser. Because LDAP clients need to communicate with an LDAP server (which is typically running on a machine other than the one that hosts the Web server), your applet will need to request privileges to connect to the LDAP server. If you sign your applet digitally, the user can determine who created the applet and can make an intelligent decision about whether or not to allow your applet to connect to the LDAP server. In this chapter we will explain the differences between writing an LDAP client as an applet and writing it as a stand-alone application.

Note that although this ...

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.