Items related to Ldap Programming With Java

Ldap Programming With Java - Hardcover

  • 3.40 out of 5 stars
    5 ratings by Goodreads
 
Image Not Available

Synopsis

Lightweight Directory Access Protocol (LDAP) is now a staple of enterprise and Internet software environments. Those involved in Internet development where Java(tm) technology is prominent or in Enterprise Information Systems, will need to understand how to use Java technology - and in particular the Directory SDK for Java - 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 how to access LDAP from Java applications. Assuming familiarity with Java programming, the book provides a comprehensive discussion on LDAP, from basic directory concepts through the most advanced techniques. It collects in one convenient resource the many innovative and experienced-based techniques and approaches programmers have discovered to use the Directory SDK to solve LDAP Access challenges.

If you are new to LDAP, you will find helpful background on 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 read in depth about authentication, LDAP and JavaScript, 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 DN password, Secure Sockets Layer (SSL), and Simple Authentication and Security Layer (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

The book also presents numerous examples, from simple code snippets to complete components and applications. The companion CD contains the entire book in searchable format, source code for the Directory SDK, and all of the examples from the book.

"synopsis" may belong to another edition of this title.

Review

From centralized corporate phone books to the localized storage of user preferences, Internet directories have many useful features. LDAP Programming with Java offers an excellent tutorial on Lightweight Directory Access Protocol (LDAP), a popular standard, and the Directory SDK for Java, which lets you program with LDAP efficiently. Written for the working developer, this book demonstrates not only the elements of this Java toolkit but also the strategies and techniques for creating good Internet directories.

There's a nice balance in this text among the background and theory of Internet directories and the many useful sample programs that show LDAP and Java in action. After outlining the development of the LDAP standard, this text gives you concise examples of using Internet directories for such applications as phone books, organizational charts, storing photo IDs centrally, and even providing "location transparency" for user preferences. (This capability allows users to access personalized settings from anywhere on a network.) Other standout material includes security and authentication, including some good detail on signing JAR files for both Netscape and Internet Explorer Web browsers.

This book also provides working sample code for combining LDAP with a variety of Java and Internet APIs such as applets, JavaScript, JavaBeans, and servlets. The working source code is clearly explained, and the authors do a fine job of describing essential programming strategies like authentication and LDAP searching. Filled with practical Java source code and tips, LDAP Programming with Java is an up-to-the-minute resource on using Internet directories to improve software in the enterprise. --Richard Dragan

Topics covered: Introduction to the Lightweight Directory Access Protocol (LDAP); history and advantages of Internet directories; the X.500 standard; installing and using the Directory SDK for Java; command-line LDAP; LDAP Data Interchange Format (LDIF); Distinguished Names (DNs); LDAP searching options; filters and attributes; LDAP authentication techniques; adding, updating, and deleting directory entries; groups; access control lists; using the Simple Authentication and Security Layer (SASL); using LDAP with applets and JavaScript; JAR signing; LDAP and JavaBeans; location transparency with LDAP; storing organizational structures; pictures and user preferences; LDAP and servlets; options and constraints; LDAP URLs; managing schemas; LDAP controls and referrals; extended operations.

From the Inside Flap

After a maturation phase in the early and mid-1990s, Lightweight Directory Access Protocol (LDAP) exploded into the mainstream of enterprise and Internet software environments. Just a few years ago, only researchers and a few brave souls doing pilot projects concerned themselves with the new protocol for sharing and accessing directory information. Today, one of the requirements of any major enterprise-level or Internet-oriented application is to be able to use an existing shared resource for user information, authentication, and authorization, and nowadays that resource in a great many cases is an LDAP directory.


Why LDAP and Java?
The impetus for LDAP Programming with Java was the mushrooming need for accurate, concise, and complete information on how to access this new key element of enterprise and Internet programming--LDAP. Programmers around the world have found innovative ways to use Directory SDK for Java to solve their LDAP access problems, and sometimes they have shared their questions and experiences on the newsgroups for LDAP, but there has been no authoritative guide.

This book is dedicated to the programmers and system administrators who are faced with LDAP-enabling their applications, tools, and systems.

There are various programming language interfaces to LDAP: C, Perl, Microsoft's ADSI. Java and LDAP are a particularly good fit, with all the options available today for deploying Java on servers--Java servlets, Java Server Pages (JSP), Enterprise JavaBeans (EJB), and server-side JavaScript--and in clients as Java applications, applets, or client-side JavaScript. The Netscape Navigator Web browser includes Directory SDK for Java, making it easy to deploy Web-based client applications that use LDAP to authenticate or to retrieve and store data.

In this book we've provided a very large number of examples for every aspect of programming with Directory SDK for Java, from simple code snippets to more than two dozen complete components and applications. You may be able to use some of them as starting points for your own projects. We do not discuss directory deployment scenarios or how to configure an LDAP server. Such topics are explored in detail in other books and in documentation provided by vendors of LDAP servers.


To Get the Most Out of This Book
We're assuming that readers of this book are somewhat familiar with programming in Java, so we will not introduce or explain standard Java constructs. There are many excellent books on Java programming in general, and on Java client-server programming in particular. However, we will start at ground zero when it comes to directories and LDAP.


How the Book Is Organized

Introduction to LDAP
Chapter 1 presents the role of directories in software systems today and describes how applications can benefit from using them, as well as presenting cases in which directories are not as good a fit as relational databases.

Chapter 2 introduces the LDAP protocol against this background and presents the LDAP naming and information models that together define how data is stored and accessed in a directory.

After acquainting you with the basic LDAP concepts and terminology, in Chapter 3 we will look at how Directory SDK for Java can help a Java program, servlet, or applet gain access to an LDAP server. After installing the SDK, we will try a few simple searches with the SDK's command-line search tool to become familiar with how a client typically interacts with an LDAP server.

Getting Started
In Chapter 4 we will install an LDAP server for use in the remainder of the book. If you already have a directory installed that is compatible with version 3 of the LDAP protocol (LDAPv3), you need only add to the directory the sample database file that is provided on the CD-ROM that accompanies the book. The examples in the book do not generally assume any particular vendor's directory product; exceptions are indicated clearly.

With the SDK installed and a directory available, Chapter 5 dives into how to retrieve data from an LDAP server. Searching is the predominant LDAP operation in most programs, and we will cover all parameters that affect the results to be returned, as well as how to obtain optimal performance. Chapter 6 explores the add, modify, delete, and rename operations for updating data in a directory, along with how to use groups.

Authentication is touched on briefly in Chapter 6 because most directories are configured not to allow anonymous clients to update any data. Chapter 7, however, covers the topic thoroughly. Besides covering simple authentication with a distinguished name (DN) and password, it introduces authentication with Secure Sockets Layer (SSL) and Simple Authentication and Security Layer (SASL), and it explains how access control is configured and updated in Netscape Directory Server.

Down and Dirty
Chapter 8 discusses the special considerations for LDAP client code that is intended to run as an applet in a browser. The steps required to digitally sign an applet for use with Microsoft Internet Explorer, Netscape Navigator, and the Sun Java Plug-in Software are presented in detail.

In Chapter 9 we investigate how to access the SDK from JavaScript in a browser.

Chapter 10 demonstrates how to encapsulate LDAP functionality in a JavaBean and provides full source for a directory tree browser JavaBean and a table JavaBean for listing the results of a search operation.

In Chapter 11 we take a detailed look at how an application can store configuration and preferences in a directory.

In a directory, data is stored as a tree. Chapter 12 illustrates how directory data can model relationships other than the physical tree relationships. A JavaBean is developed to extract reporting relationships from LDAP data and present the results as an organizational chart. Another JavaBean presents the contents of a directory entry. The chapter concludes by hooking up into simple applications the graphical JavaBeans that have been developed up to that point in the book.

Chapter 13 develops a complete server-side application: a corporate online "phone book." The application is a Java servlet that makes selected personal directory information, such as phone numbers and photographs, available to any user with a browser.

In Chapter 14 we summarize and discuss all the options and constraints that may be selected by an application for searching and other operations.

Beyond the Basics
Chapter 15 discusses various aspects of the SDK and of LDAP programming in general that are not discussed as often as the other topics in this book, such as LDAP URLs, the use of multiple threads and multiple connections, and performance tips.

Advanced topics, such as schema management, LDAP controls, and the asynchronous operation methods, are presented in Chapter 16.

The appendices contain important reference material for the SDK and for LDAP in general.


If You're in a Hurry
In general, the book contains a logical progression of information and examples, each chapter building on previous ones.

If you are familiar with the use of directories and with LDAP concepts, you may choose to skip over the first two chapters. If you already have an LDAP server available and the SDK is installed, you can go directly to Chapter 5.

If you are not interested in writing applets or JavaScript applications that use LDAP, you can safely skip over Chapters 8 and 9. Similarly, if you do not need to know how to write a Java servlet that uses LDAP, you may choose to skip over Chapter 13.


The Companion CD-ROM
The CD-ROM includes reference documentation and source code for Directory SDK for Java, as well as for all the examples and programs mentioned in the book. The SDK and examples are also provided as precompiled class and JAR files so that you can run any program directly, without compiling or copying to a local hard disk. The full text of the book is also included, to allow you to view the contents in a browser and to search for any word.

0201657589P04062001

"About this title" may belong to another edition of this title.

  • PublisherAddison-Wesley Professional
  • Publication date2000
  • ISBN 10 0201657589
  • ISBN 13 9780201657586
  • BindingHardcover
  • LanguageEnglish
  • Edition number1
  • Number of pages692
  • Rating
    • 3.40 out of 5 stars
      5 ratings by Goodreads

Buy Used

Condition: Very Good
Very Good condition. A copy that... View this item

Shipping: FREE
Within U.S.A.

Destination, rates & speeds

Add to basket

Other Popular Editions of the Same Title

Image Not Available

Featured Edition

ISBN 10:  0768682142 ISBN 13:  9780768682144
Publisher: Addison-Wesley Professional, 2000
Softcover

Search results for Ldap Programming With Java

Stock Image

Weltman, Rob, Dahbura, Tony
Published by Addison-Wesley Professional, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: Wonder Book, Frederick, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Very Good. Very Good condition. A copy that may have a few cosmetic defects. May also contain light spine creasing or a few markings such as an owner's name, short gifter's inscription or light stamp. Bundled media such as CDs, DVDs, floppy disks or access codes may not be included. Seller Inventory # B11B-02860

Contact seller

Buy Used

US$ 5.98
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Dahbura, Tony, Weltman, Rob
Published by Pearson Education, Limited, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: Better World Books, Mishawaka, IN, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. Used book that is in clean, average condition without any missing pages. Seller Inventory # 3149065-6

Contact seller

Buy Used

US$ 6.24
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Dahbura, Tony, Weltman, Rob
Published by Pearson Education, Limited, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: Better World Books, Mishawaka, IN, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Very Good. Used book that is in excellent condition. May show signs of wear or have minor defects. Seller Inventory # 9180929-6

Contact seller

Buy Used

US$ 6.24
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 2 available

Add to basket

Stock Image

Weltman, Rob; Dahbura, Tony
Published by Addison-Wesley Professional, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Hardcover. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 2.9. Seller Inventory # G0201657589I3N00

Contact seller

Buy Used

US$ 7.48
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Weltman, Rob; Dahbura, Tony
Published by Addison-Wesley Professional, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Hardcover. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 2.9. Seller Inventory # G0201657589I3N00

Contact seller

Buy Used

US$ 7.48
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Dahbura, Tony,Weltman, Rob
Published by Addison-Wesley Professional, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: Book Alley, Pasadena, CA, U.S.A.

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Hardcover. Condition: Very Good. Very Good. Gently used with NO markings in text; binding is tight. Pasadena's finest independent new and used bookstore since 1992. Seller Inventory # mon0000484500

Contact seller

Buy Used

US$ 3.35
Convert currency
Shipping: US$ 6.00
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Rob Weltman , Tony Dahbura
Published by Addison-Wesley Professional, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: BookHolders, Towson, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. [ No Hassle 30 Day Returns ][ Ships Daily ] [ Underlining/Highlighting: NONE ] [ Writing: NONE ] [ Edition: First ] [ 1 CD/Disk(s) Included ] includes CD, front 2 corners are worned but does not affect book Publisher: Addison-Wesley Professional Pub Date: 1/1/2000 Binding: Hardcover Pages: 692 First edition. Seller Inventory # 6903236

Contact seller

Buy Used

US$ 7.21
Convert currency
Shipping: US$ 4.25
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Dahbura, Tony, Weltman, Rob
Published by Pearson Education, Limited, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: Better World Books Ltd, Dunfermline, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. Ships from the UK. Former library book; may include library markings. Used book that is in clean, average condition without any missing pages. Seller Inventory # GRP95553746

Contact seller

Buy Used

US$ 6.88
Convert currency
Shipping: US$ 10.36
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Weltman, Rob, Dahbura, Tony
Published by Addison-Wesley Professional, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Hardcover

Seller: Mispah books, Redhill, SURRE, United Kingdom

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Hardcover. Condition: Like New. Like New. book. Seller Inventory # ERICA77302016575896

Contact seller

Buy Used

US$ 88.04
Convert currency
Shipping: US$ 32.38
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

ROB WELTMAN
Published by PEARSON EDUCACION, 2000
ISBN 10: 0201657589 ISBN 13: 9780201657586
Used Softcover

Seller: OM Books, Sevilla, SE, Spain

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: usado - bueno. Seller Inventory # 9780201657586

Contact seller

Buy Used

US$ 480.59
Convert currency
Shipping: US$ 63.17
From Spain to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

There are 1 more copies of this book

View all search results for this book