public class ParameterizedExecutableSearchFilterBuilder extends AbstractExecutableSearchFilterBuilder
ExecutableSearchBuilder that generates the search filter to
be executed by evaluating a parameterized filter string against the currently resolved attributes within a
AttributeResolutionContext.| Modifier and Type | Field and Description |
|---|---|
private String |
searchFilter
LDAP search filter.
|
| Constructor and Description |
|---|
ParameterizedExecutableSearchFilterBuilder()
Constructor.
|
ParameterizedExecutableSearchFilterBuilder(String filter)
Deprecated.
- use the proerty setters
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableSearchFilter |
build(AttributeResolutionContext resolutionContext,
Map<String,List<IdPAttributeValue<?>>> dependencyAttributes)
Creates an executable search that can be executed against a data source in order to produce results.
|
protected void |
doInitialize() |
void |
setSearchFilter(String filter)
Set the filter used for the LDAP search.
|
builddestroy, doDestroy, initialize, isDestroyed, isInitialized@NonnullAfterInit private String searchFilter
@Deprecated public ParameterizedExecutableSearchFilterBuilder(@Nonnull String filter)
filter - used for the LDAP searchpublic ParameterizedExecutableSearchFilterBuilder()
public void setSearchFilter(@Nonnull String filter)
filter - used for the LDAP searchprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionpublic ExecutableSearchFilter build(@Nonnull AttributeResolutionContext resolutionContext, @Nonnull Map<String,List<IdPAttributeValue<?>>> dependencyAttributes) throws ResolutionException
resolutionContext - current request contextdependencyAttributes - made available to the executable searchResolutionException - throw if their is a problem creating the executable searchCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.