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