|
Spring LDAP Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseLdapPathAware
Interface to be implemented by classes that want to have access to the base
context used in the active ContextSource
. There are several
cases in which services may want to have access to the base context, e.g.
when working with groups (groupOfNames
objectclass), 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(DistinguishedName)
method on
initialization.
NB:The ContextSource
needs to be a subclass of
AbstractContextSource
for this mechanism to work.
Method Summary | |
---|---|
void |
setBaseLdapPath(DistinguishedName baseLdapPath)
Set the base LDAP path specified in the current ApplicationContext . |
Method Detail |
---|
void setBaseLdapPath(DistinguishedName baseLdapPath)
ApplicationContext
.
baseLdapPath
- the base path used in the ContextSource
|
Spring LDAP Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |