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 java.lang.Object implements BaseLdapPathSource
Support class to provideBaseLdapPathSourcefunctionality to ContextSource instances that act as proxies.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description DelegatingBaseLdapPathContextSourceSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description javax.naming.ldap.LdapNamegetBaseLdapName()Get the base LDAP path as aLdapName.DistinguishedNamegetBaseLdapPath()Get the base LDAP path as aDistinguishedName.java.lang.StringgetBaseLdapPathAsString()Get the base LDAP path as a String.protected abstract ContextSourcegetTarget()Get the target ContextSource.
-
-
-
Method Detail
-
getTarget
protected abstract ContextSource getTarget()
Get the target ContextSource.- Returns:
- the target ContextSource.
-
getBaseLdapName
public final javax.naming.ldap.LdapName 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
public final DistinguishedName 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
public final java.lang.String 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.
-
-