|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ipworks.Ldap
The LDAP control is used to communicate with LDAP Directory Servers using the LDAP (Lightweight Directory Access) protocol.
The LDAP control implements a standard LDAP client as specified in the various LDAP RFCs. Support for both LDAP v2 and v3 is provided.
The first step in using the control is specifying the ServerName
,
a DN
(Distinguished Name) to bind as, and optionally a Password
.
Then, you can call one or more of the control methods to act
upon the server. This is identical to setting the corresponding Action
property. Server responses are normally received through the Result
event. The only exception are search requests which result in
one or more SearchResult
events, followed by a final SearchComplete
event.
Attributes are set and returned through attribute arrays such as AttrType
and AttrValue
. Other command arguments are specified
through other properties. TThese are specified in detail in each method
as well as in the values of the Action
properties.
Search filters are defined as strings in the SearchFilter
property.
The format must be a standard LDAP search string as specified in
RFC 1558. Other search attributes are set in properties such as SearchScope
, SearchTimeLimit
, etc..
The control operates asynchronously. Server responses are retrieved only through
events, and the Action
property returns control immediately. This also
means that you may send more than one request at a time, without waiting
for previous requests to complete.
Field Summary | |
static int |
amoAdd
|
static int |
amoDelete
|
static int |
amoReplace
|
static int |
fwNone
|
static int |
fwSOCKS4
|
static int |
fwSOCKS5
|
static int |
fwTunnel
|
static int |
ldapAbandon
|
static int |
ldapAdd
|
static int |
ldapBind
|
static int |
ldapCompare
|
static int |
ldapDelete
|
static int |
ldapIdle
|
static int |
ldapModify
|
static int |
ldapModifyRDN
|
static int |
ldapSearch
|
static int |
ldapUnbind
|
static int |
sdaAlways
|
static int |
sdaFindingBaseObject
|
static int |
sdaInSearching
|
static int |
sdaNever
|
static int |
ssBaseObject
|
static int |
ssSingleLevel
|
static int |
ssWholeSubtree
|
Constructor Summary | |
Ldap()
|
Method Summary | |
void |
abandon()
Ask the server to abandon a request. |
void |
add()
Add an entry to the directory server specified by DN . |
void |
addLdapEventListener(LdapEventListener l)
|
void |
bind()
Connect and bind to the directory server. |
void |
compare()
Compare attributes and values for the entry specified by DN . |
void |
delete()
Delete an entry from the directory server specified by DN . |
void |
fireError(int errorCode,
java.lang.String description)
Information about errors during data delivery. |
void |
fireResult(int messageId,
java.lang.String DN,
int resultCode,
java.lang.String description)
Fired for every server response, except search responses. |
void |
fireSearchComplete(int messageId,
java.lang.String DN,
int resultCode,
java.lang.String description)
Fired upon completion of a search operation. |
void |
fireSearchResult(int messageId,
java.lang.String DN)
Fired for every entry returned from a search operation. |
int |
getAbandonMessageId()
The message id to abandon (for LDAP abandon requests). |
int |
getAction()
An action code for the component. |
int |
getAttrCount()
Number of attributes values for the current entry. |
int |
getAttrModOp(int attrIndex)
Array of operations to apply on attributes during an LDAP modify operation. |
java.lang.String |
getAttrType(int attrIndex)
Array of attribute types for the current entry. |
byte[] |
getAttrValue(int attrIndex)
Array of attribute values for the current entry. |
java.lang.String |
getDN()
The Distinguished Name used as the base for LDAP operations. |
byte[] |
getFirewallData()
Used to send other data to firewall. |
java.lang.String |
getFirewallHost()
Name or IP address of firewall (optional). |
java.lang.String |
getFirewallPassword()
A password if authentication is to be used connecting through the firewall. |
int |
getFirewallPort()
Port of the firewall to connect to. |
int |
getFirewallType()
Determines the type of firewall to connect through. |
java.lang.String |
getFirewallUser()
A user name if authentication is to be used connecting through a firewall. |
int |
getLDAPVersion()
The version of LDAP used. |
java.lang.String |
getLocalHost()
The name of the local host or user-assigned IP interface through which connections are initiated or accepted. |
int |
getMessageId()
The message id for the next LDAP request. |
java.lang.String |
getNewRDN()
The new RDN for the entry. |
java.lang.String |
getPassword()
The password used to authenticate to the LDAP server. |
int |
getResultCode()
The result code returned in the last server response. |
java.lang.String |
getResultDescription()
The descriptive text returned in the last server response (if any). |
java.lang.String |
getResultDN()
The Distinguished Name returned in the last server response (if any). |
int |
getSearchDerefAliases()
Controls alias dereferencing during searching. |
java.lang.String |
getSearchFilter()
A string representation of the LDAP search filter used during searches. |
int |
getSearchScope()
Controls the scope of LDAP search operations. |
int |
getSearchSizeLimit()
Maximum number of entries that can be returned by the next search operation. |
int |
getSearchTimeLimit()
A time limit for the next search operation (in seconds). |
java.lang.String |
getServerName()
The name or address of the LDAP server. |
int |
getServerPort()
The server port for LDAP (default 389). |
int |
getTimeout()
A timeout for the component. |
boolean |
isAcceptData()
Enables or disables data reception from the server. |
boolean |
isConnected()
Shows whether the component is connected. |
boolean |
isDeleteOldRDN()
Controls whether the old RDN should be deleted. |
boolean |
isSearchReturnValues()
Controls whether the search operation returns values of attributes, or only types. |
void |
modify()
Perform an LDAP 'modify' operation an entry specified by DN . |
void |
modifyRDN()
Perform an LDAP 'modify RDN' operation an entry specified by DN . |
void |
removeLdapEventListener(LdapEventListener l)
|
void |
search()
Search the directory server using the based object specified in DN and the search filter SearchFilter Search the directory server using the based object specified in the DN and the search filter specified in the SearchFilter property. |
void |
setAbandonMessageId(int abandonMessageId)
The message id to abandon (for LDAP abandon requests). |
void |
setAcceptData(boolean acceptData)
Enables or disables data reception from the server. |
void |
setAction(int action)
An action code for the component. |
void |
setAttrCount(int attrCount)
Number of attributes values for the current entry. |
void |
setAttrModOp(int attrIndex,
int attrModOp)
Array of operations to apply on attributes during an LDAP modify operation. |
void |
setAttrType(int attrIndex,
java.lang.String attrType)
Array of attribute types for the current entry. |
void |
setAttrValue(int attrIndex,
byte[] attrValue)
Array of attribute values for the current entry. |
void |
setDeleteOldRDN(boolean deleteOldRDN)
Controls whether the old RDN should be deleted. |
void |
setDN(java.lang.String DN)
The Distinguished Name used as the base for LDAP operations. |
void |
setFirewallData(byte[] firewallData)
Used to send other data to firewall. |
void |
setFirewallHost(java.lang.String firewallHost)
Name or IP address of firewall (optional). |
void |
setFirewallPassword(java.lang.String firewallPassword)
A password if authentication is to be used connecting through the firewall. |
void |
setFirewallPort(int firewallPort)
Port of the firewall to connect to. |
void |
setFirewallType(int firewallType)
Determines the type of firewall to connect through. |
void |
setFirewallUser(java.lang.String firewallUser)
A user name if authentication is to be used connecting through a firewall. |
void |
setLDAPVersion(int LDAPVersion)
The version of LDAP used. |
void |
setLocalHost(java.lang.String localHost)
The name of the local host or user-assigned IP interface through which connections are initiated or accepted. |
void |
setMessageId(int messageId)
The message id for the next LDAP request. |
void |
setNewRDN(java.lang.String newRDN)
The new RDN for the entry. |
void |
setPassword(java.lang.String password)
The password used to authenticate to the LDAP server. |
void |
setSearchDerefAliases(int searchDerefAliases)
Controls alias dereferencing during searching. |
void |
setSearchFilter(java.lang.String searchFilter)
A string representation of the LDAP search filter used during searches. |
void |
setSearchReturnValues(boolean searchReturnValues)
Controls whether the search operation returns values of attributes, or only types. |
void |
setSearchScope(int searchScope)
Controls the scope of LDAP search operations. |
void |
setSearchSizeLimit(int searchSizeLimit)
Maximum number of entries that can be returned by the next search operation. |
void |
setSearchTimeLimit(int searchTimeLimit)
A time limit for the next search operation (in seconds). |
void |
setServerName(java.lang.String serverName)
The name or address of the LDAP server. |
void |
setServerPort(int serverPort)
The server port for LDAP (default 389). |
void |
setTimeout(int timeout)
A timeout for the component. |
void |
unbind()
Unbind from the directory server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ldapIdle
public static final int ldapBind
public static final int ldapUnbind
public static final int ldapSearch
public static final int ldapModify
public static final int ldapModifyRDN
public static final int ldapAdd
public static final int ldapDelete
public static final int ldapCompare
public static final int ldapAbandon
public static final int amoAdd
public static final int amoDelete
public static final int amoReplace
public static final int fwNone
public static final int fwTunnel
public static final int fwSOCKS4
public static final int fwSOCKS5
public static final int sdaNever
public static final int sdaInSearching
public static final int sdaFindingBaseObject
public static final int sdaAlways
public static final int ssBaseObject
public static final int ssSingleLevel
public static final int ssWholeSubtree
Constructor Detail |
public Ldap()
Method Detail |
public int getAbandonMessageId()
Action
property.
public void setAbandonMessageId(int abandonMessageId) throws IPWorksException
Action
property.
public boolean isAcceptData()
public void setAcceptData(boolean acceptData) throws IPWorksException
public int getAction()
Action
property to a valid action code makes
the control perform the associated action. If the action completes
successfully, execution continues normally, and Action
is
reset to 0 (Idle). If an error happens, then
an IPWorksException exception is raised.
The control operates asynchronously.
Every time a value is assigned to the Action
property, an LDAP
request message is prepared and transmitted to the server. Then control
is immediately returned to the caller. The server response (if any)
will arrive through one of the control events, and will be marked with
the same MessageId
used for the request. This also means
that multiple LDAP requests may be sent to the server, without waiting
for a server response. This is very useful when bulk directory operations
are performed.
The following are the possible values for the Action
property
and the corresponding descriptions:
Password
property has a value, it is used for authentication.
The result of the operation is returned via the Result
event.
DN
and the search filter specified in the SearchFilter
property. Additional search parameters are specified through the SearchScope
, SearchDerefAliases
, SearchSizeLimit
, SearchTimeLimit
,
and SearchReturnValues
properties.
Results are returned through
zero or more SearchResult
events, after which a SearchComplete
event is fired.
DN
.
The result of the operation is returned via the Result
event.
DN
.
The result of the operation is returned via the Result
event.
DN
to the directory.
The result of the operation is returned via the Result
event.
DN
from the directory.
The result of the operation is returned via the Result
event.
AttrType
and AttrValue
properties, with the values in the directory for the
entry specified by DN
.
The result of the operation is returned via the Result
event.
MessageId
.
The result of the operation is returned via the Result
event.
public void setAction(int action) throws IPWorksException
Action
property to a valid action code makes
the control perform the associated action. If the action completes
successfully, execution continues normally, and Action
is
reset to 0 (Idle). If an error happens, then
an IPWorksException exception is raised.
The control operates asynchronously.
Every time a value is assigned to the Action
property, an LDAP
request message is prepared and transmitted to the server. Then control
is immediately returned to the caller. The server response (if any)
will arrive through one of the control events, and will be marked with
the same MessageId
used for the request. This also means
that multiple LDAP requests may be sent to the server, without waiting
for a server response. This is very useful when bulk directory operations
are performed.
The following are the possible values for the Action
property
and the corresponding descriptions:
Password
property has a value, it is used for authentication.
The result of the operation is returned via the Result
event.
DN
and the search filter specified in the SearchFilter
property. Additional search parameters are specified through the SearchScope
, SearchDerefAliases
, SearchSizeLimit
, SearchTimeLimit
,
and SearchReturnValues
properties.
Results are returned through
zero or more SearchResult
events, after which a SearchComplete
event is fired.
DN
.
The result of the operation is returned via the Result
event.
DN
.
The result of the operation is returned via the Result
event.
DN
to the directory.
The result of the operation is returned via the Result
event.
DN
from the directory.
The result of the operation is returned via the Result
event.
AttrType
and AttrValue
properties, with the values in the directory for the
entry specified by DN
.
The result of the operation is returned via the Result
event.
MessageId
.
The result of the operation is returned via the Result
event.
public int getAttrCount()
AttrCount
to 0 clears the AttrType
and AttrValue
arrays.
public void setAttrCount(int attrCount) throws IPWorksException
AttrCount
to 0 clears the AttrType
and AttrValue
arrays.
public int getAttrModOp(int attrIndex) throws IPWorksException
AttrCount
- 1.
public void setAttrModOp(int attrIndex, int attrModOp) throws IPWorksException
AttrCount
- 1.
public java.lang.String getAttrType(int attrIndex) throws IPWorksException
AttrType
for a particular array index
is an empty string, then the corresponding value is part
of a set of values, and the attribute type for the set
is specified in the nearest AttrType
with a lower
index that has a value other than an empty string.
The number of valid members in the array is specified by AttrCount
.
The indexes start at 0 and end at AttrCount
- 1.
public void setAttrType(int attrIndex, java.lang.String attrType) throws IPWorksException
AttrType
for a particular array index
is an empty string, then the corresponding value is part
of a set of values, and the attribute type for the set
is specified in the nearest AttrType
with a lower
index that has a value other than an empty string.
The number of valid members in the array is specified by AttrCount
.
The indexes start at 0 and end at AttrCount
- 1.
public byte[] getAttrValue(int attrIndex) throws IPWorksException
AttrType
is an empty string, and the attribute type for
the set is specified in the nearest AttrType
with a lower
index that has a value other than an empty string.
The number of valid members in the array is specified by AttrCount
.
The indexes start at 0 and end at AttrCount
- 1.
public void setAttrValue(int attrIndex, byte[] attrValue) throws IPWorksException
AttrType
is an empty string, and the attribute type for
the set is specified in the nearest AttrType
with a lower
index that has a value other than an empty string.
The number of valid members in the array is specified by AttrCount
.
The indexes start at 0 and end at AttrCount
- 1.
public boolean isConnected()
public boolean isDeleteOldRDN()
Action
property.
public void setDeleteOldRDN(boolean deleteOldRDN) throws IPWorksException
Action
property.
public java.lang.String getDN()
The Distinguished Name is provided in string format as specified by RFC 1779.
public void setDN(java.lang.String DN) throws IPWorksException
The Distinguished Name is provided in string format as specified by RFC 1779.
public byte[] getFirewallData()
public void setFirewallData(byte[] firewallData) throws IPWorksException
public java.lang.String getFirewallHost()
FirewallHost
is given, requested connections will be
authenticated through the specified firewall when connecting.
If the FirewallHost
property is set to a Domain Name, a DNS request
is initiated and upon successful termination of the request, the FirewallHost
property is set to the corresponding address. If the
search is not successful, an error is returned.
public void setFirewallHost(java.lang.String firewallHost) throws IPWorksException
FirewallHost
is given, requested connections will be
authenticated through the specified firewall when connecting.
If the FirewallHost
property is set to a Domain Name, a DNS request
is initiated and upon successful termination of the request, the FirewallHost
property is set to the corresponding address. If the
search is not successful, an error is returned.
public java.lang.String getFirewallPassword()
FirewallHost
is specified, the FirewallUser
and FirewallPassword
properties are used to connect and authenticate
to the given firewall. If the authentication fails, a trappable error is fired.
public void setFirewallPassword(java.lang.String firewallPassword) throws IPWorksException
FirewallHost
is specified, the FirewallUser
and FirewallPassword
properties are used to connect and authenticate
to the given firewall. If the authentication fails, a trappable error is fired.
public int getFirewallPort()
FirewallHost
. See the
description of the FirewallHost
property for
details.
Note that the FirewallPort
is set automatically
when FirewallType
is set to a valid value. See the
description of the FirewallType
property for
details.
public void setFirewallPort(int firewallPort) throws IPWorksException
FirewallHost
. See the
description of the FirewallHost
property for
details.
Note that the FirewallPort
is set automatically
when FirewallType
is set to a valid value. See the
description of the FirewallType
property for
details.
public int getFirewallType()
FirewallPort
is set to 80.
FirewallPort
is set to 1080.
FirewallPort
is set to 1080.
public void setFirewallType(int firewallType) throws IPWorksException
FirewallPort
is set to 80.
FirewallPort
is set to 1080.
FirewallPort
is set to 1080.
public java.lang.String getFirewallUser()
FirewallHost
is specified, the FirewallUser
and FirewallPassword
properties are used to connect and authenticate
to the given firewall. If the authentication fails, a trappable error is fired.
public void setFirewallUser(java.lang.String firewallUser) throws IPWorksException
FirewallHost
is specified, the FirewallUser
and FirewallPassword
properties are used to connect and authenticate
to the given firewall. If the authentication fails, a trappable error is fired.
public int getLDAPVersion()
public void setLDAPVersion(int LDAPVersion) throws IPWorksException
public java.lang.String getLocalHost()
LocalHost
property contains the name of the local host
as obtained by the gethostname() Winsock call, or if the
user has assigned an IP address, the value of that address.
In multihomed hosts (machines with more than one IP interface) setting LocalHost to the value of an interface will make the control initiate connections (or accept in the case of server controls) only through that interface.
If the control is connected, the LocalHost
property shows
the IP address of the interface through which the connection
is made in internet dotted format (aaa.bbb.ccc.ddd). In most
cases, this is the address of the local host, except for multihomed
hosts (machines with more than one IP interface).
NOTE: LocalHost
is not persistent. You must always set it in
code, and never in the property window.
public void setLocalHost(java.lang.String localHost) throws IPWorksException
LocalHost
property contains the name of the local host
as obtained by the gethostname() Winsock call, or if the
user has assigned an IP address, the value of that address.
In multihomed hosts (machines with more than one IP interface) setting LocalHost to the value of an interface will make the control initiate connections (or accept in the case of server controls) only through that interface.
If the control is connected, the LocalHost
property shows
the IP address of the interface through which the connection
is made in internet dotted format (aaa.bbb.ccc.ddd). In most
cases, this is the address of the local host, except for multihomed
hosts (machines with more than one IP interface).
NOTE: LocalHost
is not persistent. You must always set it in
code, and never in the property window.
public int getMessageId()
MessageId
, the property must be set
before setting Action
. The control increments MessageId
automatically after each request.
public void setMessageId(int messageId) throws IPWorksException
MessageId
, the property must be set
before setting Action
. The control increments MessageId
automatically after each request.
public java.lang.String getNewRDN()
Action
property.
The Distinguished Name is provided in string format as specified by RFC 1779.
public void setNewRDN(java.lang.String newRDN) throws IPWorksException
Action
property.
The Distinguished Name is provided in string format as specified by RFC 1779.
public java.lang.String getPassword()
public void setPassword(java.lang.String password) throws IPWorksException
public int getResultCode()
Result
, SearchResult
, or SearchComplete
event.
public java.lang.String getResultDescription()
Result
, SearchResult
, or SearchComplete
event.
public java.lang.String getResultDN()
Result
, SearchResult
, or SearchComplete
event.
public int getSearchDerefAliases()
Default is to never dereference aliases.
public void setSearchDerefAliases(int searchDerefAliases) throws IPWorksException
Default is to never dereference aliases.
public java.lang.String getSearchFilter()
The following are examples of search filters, as provided in the RFC:
(cn=Babs Jensen) (!(cn=Tim Howes)) (&(objectClass=Person)(|(sn=Jensen)(cn=Babs J*))) (o=univ*of*mich*)
The complete specification is given by the following BNF:
public void setSearchFilter(java.lang.String searchFilter) throws IPWorksException
The following are examples of search filters, as provided in the RFC:
(cn=Babs Jensen) (!(cn=Tim Howes)) (&(objectClass=Person)(|(sn=Jensen)(cn=Babs J*))) (o=univ*of*mich*)
The complete specification is given by the following BNF:
public boolean isSearchReturnValues()
public void setSearchReturnValues(boolean searchReturnValues) throws IPWorksException
public int getSearchScope()
Default is to search the whole subtree.
public void setSearchScope(int searchScope) throws IPWorksException
Default is to search the whole subtree.
public int getSearchSizeLimit()
public void setSearchSizeLimit(int searchSizeLimit) throws IPWorksException
public int getSearchTimeLimit()
public void setSearchTimeLimit(int searchTimeLimit) throws IPWorksException
public java.lang.String getServerName()
ServerName
property specifies the IP address (IP number in
dotted internet format) or Domain Name of the directory server.
It is set before a connection is attempted and cannot be changed
once a connection is in progress.
If the ServerName
property is set to a Domain Name, a DNS request
is initiated and upon successful termination of the request, the ServerName
property is set to the corresponding address. If the
search is not successful, an error is returned.
public void setServerName(java.lang.String serverName) throws IPWorksException
ServerName
property specifies the IP address (IP number in
dotted internet format) or Domain Name of the directory server.
It is set before a connection is attempted and cannot be changed
once a connection is in progress.
If the ServerName
property is set to a Domain Name, a DNS request
is initiated and upon successful termination of the request, the ServerName
property is set to the corresponding address. If the
search is not successful, an error is returned.
public int getServerPort()
ServerPort
while
connected will fail with an error.
public void setServerPort(int serverPort) throws IPWorksException
ServerPort
while
connected will fail with an error.
public int getTimeout()
Timeout
property is set to 0 (default value), all
operations return immediately, potentially failing with an 'WOULDBLOCK' error if they can't be completed..
If Timeout
is set to a positive value, the control will
automatically retry each operation that would otherwise result in a 'WOULDBLOCK' error for a maximum of Timeout
seconds.
The control will use DoEvents
to enter an efficient wait loop
during any potential waiting period, making sure that all system events
are processed immediately as they arrive. This ensures that the host
application does not "freeze" and remains responsive.
If the Timeout
expires, and the operation is not yet complete, a Timeout
error is fired.
public void setTimeout(int timeout) throws IPWorksException
Timeout
property is set to 0 (default value), all
operations return immediately, potentially failing with an 'WOULDBLOCK' error if they can't be completed..
If Timeout
is set to a positive value, the control will
automatically retry each operation that would otherwise result in a 'WOULDBLOCK' error for a maximum of Timeout
seconds.
The control will use DoEvents
to enter an efficient wait loop
during any potential waiting period, making sure that all system events
are processed immediately as they arrive. This ensures that the host
application does not "freeze" and remains responsive.
If the Timeout
expires, and the operation is not yet complete, a Timeout
error is fired.
public void fireError(int errorCode, java.lang.String description)
LdapErrorEvent
public void fireResult(int messageId, java.lang.String DN, int resultCode, java.lang.String description)
LdapResultEvent
public void fireSearchComplete(int messageId, java.lang.String DN, int resultCode, java.lang.String description)
LdapSearchCompleteEvent
public void fireSearchResult(int messageId, java.lang.String DN)
LdapSearchResultEvent
public void abandon() throws IPWorksException
MessageId
.
The result of the operation is returned via the Result
event.
Calling this method is equivalent to setting the Action
property
to ldapAbandon .
public void add() throws IPWorksException
DN
to the directory.
The result of the operation is returned via the Result
event.
Calling this method is equivalent to setting the Action
property
to ldapAdd .
public void bind() throws IPWorksException
Password
property has a value, it is used for authentication.
The result of the operation is returned via the Result
event.
Calling this method is equivalent to setting the Action
property
to ldapBind .
public void compare() throws IPWorksException
AttrType
and AttrValue
properties, with the values in the directory for the
entry specified by DN
.
The result of the operation is returned via the Result
event.
Calling this method is equivalent to setting the Action
property
to ldapCompare .
public void delete() throws IPWorksException
DN
from the directory.
The result of the operation is returned via the Result
event.
Calling this method is equivalent to setting the Action
property
to ldapDelete .
public void modify() throws IPWorksException
DN
.
The result of the operation is returned via the Result
event.
Calling this method is equivalent to setting the Action
property
to ldapModify .
public void modifyRDN() throws IPWorksException
DN
.
The result of the operation is returned via the Result
event.
Calling this method is equivalent to setting the Action
property
to ldapModifyRDN .
public void search() throws IPWorksException
DN
and the search filter specified in the SearchFilter
property. Additional search parameters are specified through the SearchScope
, SearchDerefAliases
, SearchSizeLimit
, SearchTimeLimit
,
and SearchReturnValues
properties.
Results are returned through
zero or more SearchResult
events, after which a SearchComplete
event is fired.
Calling this method is equivalent to setting the Action
property
to ldapSearch .
public void unbind() throws IPWorksException
Calling this method is equivalent to setting the Action
property
to ldapUnbind .
public void addLdapEventListener(LdapEventListener l) throws java.util.TooManyListenersException
public void removeLdapEventListener(LdapEventListener l)
|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |