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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal LdapNameGet the base LDAP path as aLdapName.final DistinguishedNameGet the base LDAP path as aDistinguishedName.final StringGet the base LDAP path as a String.protected abstract ContextSourceGet the target ContextSource.
-
Constructor Details
-
DelegatingBaseLdapPathContextSourceSupport
public DelegatingBaseLdapPathContextSourceSupport()
-
-
Method Details
-
getTarget
Get the target ContextSource.- Returns:
- the target ContextSource.
-
getBaseLdapName
Description copied from interface:BaseLdapPathSourceGet the base LDAP path as aLdapName.- Specified by:
getBaseLdapNamein 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:BaseLdapPathSourceGet the base LDAP path as aDistinguishedName.- Specified by:
getBaseLdapPathin 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:BaseLdapPathSourceGet the base LDAP path as a String.- Specified by:
getBaseLdapPathAsStringin interfaceBaseLdapPathSource- Returns:
- the base LDAP path as a An empty String will be returned if no base path is specified.
-