|
Using LDAP with ColdFusion
The cfldap tag extends the ColdFusion
query capabilities to LDAP network directory services. The cfldap tag
lets you use LDAP in many ways, such as the following:
Create Internet White Pages so users can locate people
and resources and get information about them.
Provide a front end to manage and update directory entries.
Build applications that incorporate data from directory queries
in their processes.
Integrate applications with existing organizational or corporate
directory services.
The cfldap tag action attribute
supports the following operations on LDAP directories:
Action
|
Description
|
query
|
Returns attribute values from a directory.
|
add
|
Adds an entry to a directory.
|
delete
|
Deletes an entry from a directory.
|
modify
|
Adds, deletes, or changes the value of an
attribute in a directory entry.
|
modifyDN
|
Renames a directory entry (changes its distinguished
name).
|
The following table lists the attributes that are required and
optional for each action. For more information on each attribute,
see the cfldap tag in the CFML Reference.
Action
|
Required attributes
|
Optional attributes
|
query
|
server, name, start, attributes
|
port, username, password, timeout, secure, rebind, referral, scope, filter, sort, sortControl, startRow, maxRows, separator, delimiter
|
add
|
server, dn, attributes
|
port, username, password, timeout, secure, rebind, referral, separator, delimiter
|
delete
|
server, dn
|
port, username, password, timeout, secure, rebind, referral
|
modify
|
server, dn, attributes
|
port, username, password, timeout, secure, rebind, referral, modifyType, separator, delimiter
|
modifyDN
|
server, dn, attributes
|
port, username, password, timeout, secure, rebind, referral
|
|