interface documentation

class ILDAPConfig(Interface): (source)

Known implementations: ldaptor.config.LDAPConfig

View In Hierarchy

Generic LDAP configuration retrieval.

Method copy Make a copy of this configuration, overriding certain aspects of it.
Method getBaseDN Get the LDAP base DN, as a DistinguishedName.
Method getIdentityBaseDN TODO
Method getIdentitySearch TODO
Method getServiceLocationOverrides Get the LDAP service location overrides, as a mapping of DistinguishedName to (host, port) tuples.
def copy(self, baseDN=None, serviceLocationOverrides=None): (source)

Make a copy of this configuration, overriding certain aspects of it.

def getBaseDN(self): (source)

Get the LDAP base DN, as a DistinguishedName. Raises ldaptor.config.MissingBaseDNError if configuration does not specify a base DN.

def getIdentityBaseDN(self): (source)

TODO

def getIdentitySearch(self, name): (source)

TODO

def getServiceLocationOverrides(self): (source)

Get the LDAP service location overrides, as a mapping of DistinguishedName to (host, port) tuples.