Class DelegatingBaseLdapPathContextSourceSupport
java.lang.Object
org.springframework.ldap.core.support.DelegatingBaseLdapPathContextSourceSupport
- All Implemented Interfaces:
BaseLdapPathSource
- Direct Known Subclasses:
PooledContextSource
,PoolingContextSource
,TransactionAwareContextSourceProxy
public abstract class DelegatingBaseLdapPathContextSourceSupport
extends Object
implements BaseLdapPathSource
Support class to provide
BaseLdapPathSource
functionality to ContextSource instances
that act as proxies.- Since:
- 2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal LdapName
Get the base LDAP path as aLdapName
.final DistinguishedName
Get the base LDAP path as aDistinguishedName
.final String
Get the base LDAP path as a String.protected abstract ContextSource
Get the target ContextSource.
-
Constructor Details
-
DelegatingBaseLdapPathContextSourceSupport
public DelegatingBaseLdapPathContextSourceSupport()
-
-
Method Details
-
getTarget
Get the target ContextSource.- Returns:
- the target ContextSource.
-
getBaseLdapName
Description copied from interface:BaseLdapPathSource
Get the base LDAP path as aLdapName
.- Specified by:
getBaseLdapName
in interfaceBaseLdapPathSource
- Returns:
- the base LDAP path as a
LdapName
. The path will be empty if no base path is specified.
-
getBaseLdapPath
Description copied from interface:BaseLdapPathSource
Get the base LDAP path as aDistinguishedName
.- Specified by:
getBaseLdapPath
in interfaceBaseLdapPathSource
- Returns:
- the base LDAP path as a
DistinguishedName
. The path will be empty if no base path is specified.
-
getBaseLdapPathAsString
Description copied from interface:BaseLdapPathSource
Get the base LDAP path as a String.- Specified by:
getBaseLdapPathAsString
in interfaceBaseLdapPathSource
- Returns:
- the base LDAP path as a An empty String will be returned if no base path is specified.
-