@ConfigurationProperties(value="search")
public static class LdapConfiguration.SearchConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX
The configuration prefix.
|
Constructor and Description |
---|
SearchConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAttributes() |
java.lang.String |
getBase() |
java.lang.String |
getFilter() |
SearchSettings |
getSettings(java.lang.Object[] arguments) |
boolean |
isSubtree() |
void |
setAttributes(java.lang.String[] attributes)
Sets the attributes to return.
|
void |
setBase(java.lang.String base)
Sets the base DN to search.
|
void |
setFilter(java.lang.String filter)
Sets the search filter.
|
void |
setSubtree(boolean subtree)
Sets if the subtree should be searched.
|
public static final java.lang.String PREFIX
public boolean isSubtree()
public void setSubtree(boolean subtree)
subtree
- The subtreepublic java.lang.String getBase()
public void setBase(java.lang.String base)
base
- The base DNpublic java.lang.String getFilter()
public void setFilter(java.lang.String filter)
filter
- The search filterpublic java.lang.String[] getAttributes()
public void setAttributes(java.lang.String[] attributes)
attributes
- The attributespublic SearchSettings getSettings(java.lang.Object[] arguments)
arguments
- The search arguments