public interface BaseLdapNameAware
ContextSource. There are several cases in which services may want to have access to the base context, e.g. when working with groups (
groupOfNamesobjectclass), in which case the full DN of each group member needs to be specified in the attribute value.
If a class implements this interface and a
BaseLdapPathBeanPostProcessor is defined in the
ApplicationContext, the default base path will automatically
passed to the
setBaseLdapPath(javax.naming.ldap.LdapName) method on
ContextSource needs to be a subclass of
AbstractContextSource for this mechanism to work.
void setBaseLdapPath(LdapName baseLdapPath)
baseLdapPath- the base path used in the