@ConfigurationProperties(value="groups")
public static class LdapConfiguration.GroupConfiguration
extends java.lang.Object
implements io.micronaut.core.util.Toggleable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
GroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute() |
java.lang.String |
getBase() |
java.lang.String |
getFilter() |
java.util.Optional<java.lang.String> |
getFilterAttribute()
The argument to pass to the search filter.
|
SearchSettings |
getSearchSettings(java.lang.Object[] arguments) |
boolean |
isEnabled() |
boolean |
isSubtree() |
void |
setAttribute(java.lang.String attribute)
Sets the group attribute name.
|
void |
setBase(java.lang.String base)
Sets the base DN to search from.
|
void |
setEnabled(boolean enabled)
Sets if group search is enabled.
|
void |
setFilter(java.lang.String filter)
Sets the group search filter.
|
void |
setFilterAttribute(java.lang.String filterAttribute)
Sets the name of the user attribute to bind to the
group search filter.
|
void |
setSubtree(boolean subtree)
Sets if the subtree should be searched.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
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 filterpublic java.lang.String getAttribute()
public void setAttribute(java.lang.String attribute)
attribute
- The attribute namepublic boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
enabled
- The enabled settingpublic SearchSettings getSearchSettings(java.lang.Object[] arguments)
arguments
- The search argumentspublic java.util.Optional<java.lang.String> getFilterAttribute()
public void setFilterAttribute(java.lang.String filterAttribute)
filterAttribute
- The attribute