Spring LDAP Framework

org.springframework.ldap.core.support
Interface BaseLdapPathSource

All Known Subinterfaces:
BaseLdapPathContextSource
All Known Implementing Classes:
AbstractContextSource, DirContextSource, LdapContextSource

public interface BaseLdapPathSource

Implementations of this interface are capable of providing a base LDAP path. The base LDAP path is the root path to which all LDAP operations performed on a particular context are relative.

Author:
Mattias Hellborg Arthursson
See Also:
ContextSource

Method Summary
 DistinguishedName getBaseLdapPath()
          Get the base LDAP path as a DistinguishedName.
 String getBaseLdapPathAsString()
          Get the base LDAP path as a String.
 

Method Detail

getBaseLdapPath

DistinguishedName getBaseLdapPath()
Get the base LDAP path as a DistinguishedName.

Returns:
the base LDAP path as a DistinguishedName. The path will be empty if no base path is specified.

getBaseLdapPathAsString

String getBaseLdapPathAsString()
Get the base LDAP path as a String.

Returns:
the base LDAP path as a An empty String will be returned if no base path is specified.

Spring LDAP Framework

Copyright © 2005-2010 The Spring LDAP Framework. All Rights Reserved.