Skip to Content
LDAP Programming with Java™
book

LDAP Programming with Java™

by Rob Weltman, Tony Dahbura
February 2000
Intermediate to advanced
720 pages
15h 26m
English
Addison-Wesley Professional

Overview

Lightweight Directory Access Protocol (LDAP) is now a staple of enterprise and Internet software environments. Anyone involved with Internet development, where Java(TM) technology is prominent, or in enterprise information systems must understand how to use Java technology--especially the Directory SDK for Java--in order to unlock the power of LDAP.

Written by the designer of the Directory SDK for Java and by a leading implementor of directory-based solutions, LDAP Programming with Java(TM) is the first accurate, concise, and complete guide on accessing LDAP from Java applications. Assuming familiarity with Java programming, the book provides a comprehensive discussion of LDAP, from basic directory concepts to the most advanced techniques. It collects in one convenient resource the many innovative and experience-based techniques and approaches programmers have discovered for using the Directory SDK to solve LDAP access challenges.

If you are new to LDAP, you will find helpful background information about the role of directories in today's software systems; LDAP methods of storing, accessing, searching, and updating data; and how the Directory SDK for Java helps applications gain access to an LDAP server. Once you have become proficient with the essential concepts and techniques, you can move on to detailed material about authentication, LDAP and JavaScript(TM), working with JavaBeans(TM) for reusable LDAP components, expressing data relationships in a directory, and other advanced LDAP subjects.

Specific topics covered include:

  • The LDAP naming and information models

  • The command-line tools of the SDK

  • Authentication with a password, SSL, and SASL

  • Configuring access control

  • Writing LDAP applets for a browser

  • Accessing the SDK from JavaScript

  • Storing configuration and preferences in a directory

  • Encapsulating LDAP functionality in a JavaBean

  • Using LDAP in Java servlets

  • LDAP URLs

  • Multiple threads and multiple connections

  • Referrals and replicated systems

  • LDAP controls

  • Synchronous and asynchronous operations

  • Performance tips

  • LDAP Programming with Java(TM) also presents numerous examples, from simple code snippets to complete components and applications.

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    The ABCs of LDAP

    The ABCs of LDAP

    Reinhard E. Voglmaier
    Inside Microsoft® SQL Server® 2008: T-SQL Programming

    Inside Microsoft® SQL Server® 2008: T-SQL Programming

    Dejan Sarka Itzik Ben-Gan Greg Low, Roger Wolter, Ed Katibah, and Isaac Kunen

    Publisher Resources

    ISBN: 0201657589Purchase book