Book description
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.
Table of contents
- Copyright
- Preface
- Acknowledgments
- INTRODUCTION
-
GETTING STARTED
- Setting Up Your Own Directory
- Searching with the SDK
- Creating and Maintaining Information
-
Securing the Data
- No Standards for Access Control
- Setting Up an Access Control List
- Viewing Access Control Lists through LDAP
- Modifying Access Control Lists through LDAP
- Authenticating to the Directory
- Using Password-Based Authentication
- Communicating over Secure Sockets Layer
- Using Certificate-Based Authentication
- Using SASL Authentication
- Callbacks in SASL
- The SASL Framework Classes
- Preparing to Use an Existing Mechanism
- Your Own SaslClient and ClientFactory
- Conclusion
-
GETTING DOWN AND DIRTY
-
More Power to the Browser: An Applet That Speaks LDAP
- What's So Different about an Applet?
- Certificates and Signed Applets
- Writing LDAP Applets for Netscape Navigator
- Generating a Test Certificate
- Writing LDAP Applets for Microsoft Internet Explorer
- Creating a Web Page for the Applet
- Writing LDAP Applets for Java Plug-In Software
- A Directory Viewer Applet
- Conclusion
- Scripting LDAP: JavaScript and Java
- Don't Redo It, Reuse It: LDAP JavaBeans
- Make Your Application Location-Independent
- Modeling Relationships
- Servlets and LDAP
-
More Power to the Browser: An Applet That Speaks LDAP
-
BEYOND THE BASICS
- Options and Constraints
- Odds and Ends
-
Advanced Topics
- Information about Information: Managing the Schema
- Controls: An Essential Extension
- When the Data Lives Elsewhere: Managing Referrals
- And Now for Something Completely Different: Extended Operations
- Aiming for 24X7: Failover and Reconnecting
- Controlling the Result Queue: The Connection Backlog
- Down to the Wire: Using the Asynchronous Interface
- Conclusion
- APPENDICES
Product information
- Title: LDAP Programming with Java™
- Author(s):
- Release date: February 2000
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780201657586
You might also like
book
Practical Spring LDAP: Enterprise Java LDAP Development Made Easy
is your guide to developing Java-based enterprise applications using the Spring LDAP Framework. This book explains …
book
Java Server Pages
JavaServer Pages (JSP) technology provides an easy way to create dynamic web pages. JSP uses a …
book
Inside Microsoft® SQL Server® 2008: T-SQL Programming
Get a detailed look at the internal architecture of T-SQL with this comprehensive programming reference. Database …
book
Core JSTL: Mastering the JSP™ Standard Tag Library
The breakthrough solution for easier, faster, and more powerful Web development. Powerful techniques for accelerating, simplifying, …