@ConfigurationProperties(value="groups") public static class LdapConfiguration.GroupConfiguration extends Object implements Toggleable
Constructor and Description |
---|
GroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getAttribute() |
String |
getBase() |
String |
getFilter() |
SearchSettings |
getSearchSettings(Object[] arguments) |
boolean |
isEnabled() |
boolean |
isSubtree() |
void |
setAttribute(String attribute)
Sets the group attribute name.
|
void |
setBase(String base)
Sets the base DN to search from.
|
void |
setEnabled(boolean enabled)
Sets if group search is enabled.
|
void |
setFilter(String filter)
Sets the group 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 filterpublic String getAttribute()
public void setAttribute(String attribute)
attribute
- The attribute namepublic boolean isEnabled()
isEnabled
in interface Toggleable
public void setEnabled(boolean enabled)
enabled
- The enabled settingpublic SearchSettings getSearchSettings(Object[] arguments)
arguments
- The search arguments