class documentation

class LDAPConfig: (source)

Implements interfaces: ldaptor.interfaces.ILDAPConfig

View In Hierarchy

Undocumented

Method __init__ Undocumented
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.
Instance Variable baseDN Undocumented
Instance Variable identityBaseDN Undocumented
Instance Variable identitySearch Undocumented
Instance Variable serviceLocationOverrides Undocumented
Method _loadServiceLocationOverrides Undocumented
def __init__(self, baseDN=None, serviceLocationOverrides=None, identityBaseDN=None, identitySearch=None): (source)

Undocumented

def copy(self, **kw): (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)
def getIdentitySearch(self, name): (source)
def getServiceLocationOverrides(self): (source)

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

baseDN = (source)

Undocumented

identityBaseDN = (source)

Undocumented

identitySearch = (source)

Undocumented

serviceLocationOverrides: dict = (source)

Undocumented

def _loadServiceLocationOverrides(self): (source)

Undocumented