Modifier and Type | Class and Description |
---|---|
class |
SearchRequestDsml
DSML Decorator for SearchRequest
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
SearchRequestDsml.addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
SearchRequest |
SearchRequestDsml.addAttributes(String... attributes)
Adds some attributes to the set of entry attributes to return.
|
SearchRequest |
SearchRequestDsml.addControl(Control control)
Adds a control to this Message.
|
SearchRequest |
SearchRequestDsml.followReferrals()
Tells the client to follow referrals instead of throwing exceptions
|
SearchRequest |
SearchRequestDsml.ignoreReferrals()
Tells the client to ignore referrals instead of throwing exceptions.
|
SearchRequest |
SearchRequestDsml.removeAttribute(String attribute)
Removes an attribute to the set of entry attributes to return.
|
SearchRequest |
SearchRequestDsml.removeControl(Control control)
Deletes a control removing it from this Message.
|
SearchRequest |
SearchRequestDsml.setBase(Dn baseDn)
Sets the search base as a distinguished name.
|
SearchRequest |
SearchRequestDsml.setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter.
|
SearchRequest |
SearchRequestDsml.setFilter(ExprNode filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequestDsml.setFilter(String filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequestDsml.setMessageId(int messageId)
Sets the Message ID for this request
|
SearchRequest |
SearchRequestDsml.setScope(SearchScope scope)
Sets the search scope parameter enumeration.
|
SearchRequest |
SearchRequestDsml.setSizeLimit(long entriesMax)
Sets sizelimit that restricts the maximum number of entries to be
returned as a result of the search.
|
SearchRequest |
SearchRequestDsml.setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed
for a search.
|
SearchRequest |
SearchRequestDsml.setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute
types and values, or just attribute types.
|
Constructor and Description |
---|
SearchRequestDsml(LdapApiService codec,
SearchRequest ldapMessage)
Creates a new getDecoratedMessage() of SearchRequestDsml.
|
Modifier and Type | Class and Description |
---|---|
class |
SearchRequestDecorator
A decorator for the SearchRequest message
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
SearchRequestDecorator.addAbandonListener(AbandonListener listener)
Adds listener to be notified if this request gets abandoned.
|
SearchRequest |
SearchRequestDecorator.addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
SearchRequest |
SearchRequestDecorator.addAttributes(String... attributes)
Adds some attributes to the set of entry attributes to return.
|
SearchRequest |
SearchRequestDecorator.addControl(Control control)
Adds a control to this Message.
|
SearchRequest |
SearchRequestDecorator.followReferrals()
Tells the client to follow referrals instead of throwing exceptions
|
SearchRequest |
SearchRequestDecorator.ignoreReferrals()
Tells the client to ignore referrals instead of throwing exceptions.
|
SearchRequest |
SearchRequestDecorator.removeAttribute(String attribute)
Removes an attribute to the set of entry attributes to return.
|
SearchRequest |
SearchRequestDecorator.removeControl(Control control)
Deletes a control removing it from this Message.
|
SearchRequest |
SearchRequestDecorator.setBase(Dn baseDn)
Sets the search base as a distinguished name.
|
SearchRequest |
SearchRequestDecorator.setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter.
|
SearchRequest |
SearchRequestDecorator.setFilter(ExprNode filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequestDecorator.setFilter(String filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequestDecorator.setMessageId(int messageId)
Sets the Message ID for this request
|
SearchRequest |
SearchRequestDecorator.setScope(SearchScope scope)
Sets the search scope parameter enumeration.
|
SearchRequest |
SearchRequestDecorator.setSizeLimit(long entriesMax)
Sets sizelimit that restricts the maximum number of entries to be
returned as a result of the search.
|
SearchRequest |
SearchRequestDecorator.setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed
for a search.
|
SearchRequest |
SearchRequestDecorator.setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute
types and values, or just attribute types.
|
Constructor and Description |
---|
SearchRequestDecorator(LdapApiService codec,
SearchRequest decoratedMessage)
Makes a SearchRequest encodable.
|
Modifier and Type | Class and Description |
---|---|
class |
SearchRequestImpl
SearchRequest implementation.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
SearchRequestImpl.addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
SearchRequest |
SearchRequest.addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
SearchRequest |
SearchRequestImpl.addAttributes(String... attributesToAdd)
Adds some attributes to the set of entry attributes to return.
|
SearchRequest |
SearchRequest.addAttributes(String... attributes)
Adds some attributes to the set of entry attributes to return.
|
SearchRequest |
SearchRequestImpl.addControl(Control control)
Adds a control to this Message.
|
SearchRequest |
SearchRequest.addControl(Control control)
Adds a control to this Message.
|
SearchRequest |
SearchRequestImpl.followReferrals()
Tells the client to follow referrals instead of throwing exceptions
|
SearchRequest |
SearchRequest.followReferrals()
Tells the client to follow referrals instead of throwing exceptions
|
SearchRequest |
SearchRequestImpl.ignoreReferrals()
Tells the client to ignore referrals instead of throwing exceptions.
|
SearchRequest |
SearchRequest.ignoreReferrals()
Tells the client to ignore referrals instead of throwing exceptions.
|
SearchRequest |
SearchRequestImpl.removeAttribute(String attribute)
Removes an attribute to the set of entry attributes to return.
|
SearchRequest |
SearchRequest.removeAttribute(String attribute)
Removes an attribute to the set of entry attributes to return.
|
SearchRequest |
SearchRequestImpl.removeControl(Control control)
Deletes a control removing it from this Message.
|
SearchRequest |
SearchRequest.removeControl(Control control)
Deletes a control removing it from this Message.
|
SearchRequest |
SearchRequestImpl.setBase(Dn base)
Sets the search base as a distinguished name.
|
SearchRequest |
SearchRequest.setBase(Dn baseDn)
Sets the search base as a distinguished name.
|
SearchRequest |
SearchRequestImpl.setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter.
|
SearchRequest |
SearchRequest.setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter.
|
SearchRequest |
SearchRequestImpl.setFilter(ExprNode filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequest.setFilter(ExprNode filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequestImpl.setFilter(String filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequest.setFilter(String filter)
Sets the search filter associated with this search request.
|
SearchRequest |
SearchRequestImpl.setMessageId(int messageId)
Sets the Message ID for this request
|
SearchRequest |
SearchRequest.setMessageId(int messageId)
Sets the Message ID for this request
|
SearchRequest |
SearchRequestImpl.setScope(SearchScope scope)
Sets the search scope parameter enumeration.
|
SearchRequest |
SearchRequest.setScope(SearchScope scope)
Sets the search scope parameter enumeration.
|
SearchRequest |
SearchRequestImpl.setSizeLimit(long entriesMax)
Sets sizelimit that restricts the maximum number of entries to be
returned as a result of the search.
|
SearchRequest |
SearchRequest.setSizeLimit(long entriesMax)
Sets sizelimit that restricts the maximum number of entries to be
returned as a result of the search.
|
SearchRequest |
SearchRequestImpl.setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed
for a search.
|
SearchRequest |
SearchRequest.setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed
for a search.
|
SearchRequest |
SearchRequestImpl.setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute
types and values, or just attribute types.
|
SearchRequest |
SearchRequest.setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute
types and values, or just attribute types.
|
Modifier and Type | Method and Description |
---|---|
SearchCursor |
LdapNetworkConnection.search(SearchRequest searchRequest)
Performs search using a search request object.
|
SearchCursor |
LdapConnectionWrapper.search(SearchRequest searchRequest)
Performs search using a search request object.
|
SearchCursor |
LdapConnection.search(SearchRequest searchRequest)
Performs search using a search request object.
|
SearchFuture |
LdapNetworkConnection.searchAsync(SearchRequest searchRequest)
Do a search, on the base object, using the given filter.
|
SearchFuture |
LdapAsyncConnection.searchAsync(SearchRequest searchRequest)
Do a search, on the base object, using the given filter.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
ModelFactory.newSearchRequest(Dn baseDn,
FilterBuilder filter,
SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(Dn baseDn,
FilterBuilder filter,
SearchScope scope) |
SearchRequest |
ModelFactory.newSearchRequest(Dn baseDn,
FilterBuilder filter,
SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(Dn baseDn,
FilterBuilder filter,
SearchScope scope,
String... attributes) |
SearchRequest |
ModelFactory.newSearchRequest(Dn baseDn,
String filter,
SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(Dn baseDn,
String filter,
SearchScope scope) |
SearchRequest |
ModelFactory.newSearchRequest(Dn baseDn,
String filter,
SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(Dn baseDn,
String filter,
SearchScope scope,
String... attributes) |
SearchRequest |
ModelFactory.newSearchRequest(String baseDn,
FilterBuilder filter,
SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(String baseDn,
FilterBuilder filter,
SearchScope scope) |
SearchRequest |
ModelFactory.newSearchRequest(String baseDn,
FilterBuilder filter,
SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(String baseDn,
FilterBuilder filter,
SearchScope scope,
String... attributes) |
SearchRequest |
ModelFactory.newSearchRequest(String baseDn,
String filter,
SearchScope scope)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
all normal attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(String baseDn,
String filter,
SearchScope scope) |
SearchRequest |
ModelFactory.newSearchRequest(String baseDn,
String filter,
SearchScope scope,
String... attributes)
Returns a new
SearchRequest over baseDn in
scope matching filter returning
attributes for each matching entry. |
SearchRequest |
LdapConnectionTemplate.newSearchRequest(String baseDn,
String filter,
SearchScope scope,
String... attributes) |
Modifier and Type | Method and Description |
---|---|
PasswordWarning |
LdapConnectionTemplate.authenticate(SearchRequest searchRequest,
char[] password) |
PasswordWarning |
LdapConnectionOperations.authenticate(SearchRequest searchRequest,
char[] password)
Attempts to authenticate the supplied credentials against the first
entry found matching the search criteria.
|
<T> List<T> |
LdapConnectionTemplate.search(SearchRequest searchRequest,
EntryMapper<T> entryMapper) |
<T> List<T> |
LdapConnectionOperations.search(SearchRequest searchRequest,
EntryMapper<T> entryMapper)
Searches for the entries matching the supplied
searchRequest , feeding the result into the
entryMapper . |
<T> T |
LdapConnectionTemplate.searchFirst(SearchRequest searchRequest,
EntryMapper<T> entryMapper) |
<T> T |
LdapConnectionOperations.searchFirst(SearchRequest searchRequest,
EntryMapper<T> entryMapper)
Searches for the first entry matching the supplied
searchRequest , feeding the result into the
entryMapper . |
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.