Working With LDAP URLs
Maybe your like
Directory SDK for Java 4.0 Programmer's Guide: Working with LDAP URLs
© Copyright 1999 Netscape Communications Corporation. All rights reserved.
|
| Chapter 10 Working with LDAP URLs This chapter describes what LDAP URLs are and explains how to use LDAP URLs to search and retrieve data from the directory. The chapter contains the following sections:
| ||||||||||||||
Understanding LDAP URLs | ||||||||||||||
An LDAP URL is a URL that begins with the ldap:// protocol prefix (or ldaps://, if the server is communicating over an SSL connection) and specifies a search request to be sent to an LDAP server. In the LDAP Java classes, you can represent an LDAP URL as an LDAPUrl object. You can invoke methods of this object to parse an LDAP URL into its components and to process a search request specified by an LDAP URL. LDAP URLs have the following syntax: ldap[s]://<hostname>:<port>/<base_dn>?<attributes>?<scope>?<filter> (RFC 2255, The LDAP URL Format, also specifies that a "bindname" extension can be present at the end of the URL. At this point in time, the LDAP Java classes do not handle this extension.) The ldap:// protocol is used to connect to LDAP servers over unsecured connections, and the ldaps:// protocol is used to connect to LDAP servers over SSL connections. Table 10.1 lists the components of an LDAP URL.
| ||||||||||||||
Examples of LDAP URLs | ||||||||||||||
The following LDAP URL specifies a base search for the entry with the distinguished name "o=Airius.com". ldap://ldap.netscape.com/o=Airius.com
| ||||||||||||||
Getting the Components of an LDAP URL | ||||||||||||||
To get the individual components of an LDAP URL, pass the URL to the LDAPUrl constructor to create a new LDAPUrl object, then use the following methods:
| ||||||||||||||
Processing an LDAP URL | ||||||||||||||
To process the search request specified by an LDAP URL, you can invoke one of the following methods, passing in the LDAPUrl object:
| ||||||||||||||
|
Tag » Active Directory Url Example
-
LDAP And Active Directory Authentication | Collaborator ...
-
Configuring An Active Directory Endpoint - IBM
-
How Can I Figure Out My LDAP Connection String? - Server Fault
-
LDAP URLs
-
Authentication With LDAP Against ActiveDirectory
-
Finding An LDAP URL? - Stack Overflow
-
Setting Up LDAP Or Active Directory Authorization
-
How To Find The URL To Connect To Active Directory Default Domain?
-
LDAP Settings For AD Authentication | GE Digital
-
C.3. Examples Of LDAP URLs Red Hat Directory Server 11
-
Advanced LDAP URL Syntax - Aruba Networks
-
Generate The LDAP Connection URL - VMware
-
Find Your Active Directory Search Base - WatchGuard Technologies
Understanding LDAP URLs