linotp.useridresolver package¶
The useridresolver is responsible for getting userids for loginnames and vice versa.
This base module contains the base class UserIdResolver.UserIdResolver and also the community class PasswdIdResolver.IdResolver, that is inherited from the base class.
- class linotp.useridresolver.ClassRegistry¶
Bases:
dict
A simple class registry, that provides a convenient decorator.
Usage:
>>> cls_reg = ClassRegistry()
>>> cls_reg.class_entry(registry_key='foo_cls') >>> class Foo (object): >>> pass
- class_entry(registry_key=None)¶
decorator factory to insert classes into this registry
- linotp.useridresolver.reload_classes()¶
iterates through the modules in this package and import every single one of them
Submodules¶
- linotp.useridresolver.LDAPIdResolver module
IdResolver
IdResolver.bind()
IdResolver.checkPass()
IdResolver.close()
IdResolver.conf
IdResolver.connect()
IdResolver.critical_parameters
IdResolver.crypted_parameters
IdResolver.db_prefix
IdResolver.fields
IdResolver.getResolverClassDescriptor()
IdResolver.getResolverClassType()
IdResolver.getResolverDescriptor()
IdResolver.getResolverId()
IdResolver.getResolverType()
IdResolver.getSearchFields()
IdResolver.getUserId()
IdResolver.getUserInfo()
IdResolver.getUserLDAPInfo()
IdResolver.getUserList()
IdResolver.getUserListIterator()
IdResolver.getUsername()
IdResolver.loadConfig()
IdResolver.nameDict
IdResolver.now_timestamp()
IdResolver.parse_timeout()
IdResolver.primary_key
IdResolver.primary_key_changed()
IdResolver.resolver_parameters
IdResolver.searchFields
IdResolver.setup()
IdResolver.testconnection()
IdResolver.unbind()
escape_hex_for_search()
resolver_request()
- linotp.useridresolver.PasswdIdResolver module
IdResolver
IdResolver.checkDescription()
IdResolver.checkEmail()
IdResolver.checkPass()
IdResolver.checkUserId()
IdResolver.checkUserName()
IdResolver.close()
IdResolver.db_prefix
IdResolver.fields
IdResolver.getResolverClassDescriptor()
IdResolver.getResolverClassType()
IdResolver.getResolverDescriptor()
IdResolver.getResolverId()
IdResolver.getResolverType()
IdResolver.getSearchFields()
IdResolver.getUserId()
IdResolver.getUserInfo()
IdResolver.getUserList()
IdResolver.getUsername()
IdResolver.loadConfig()
IdResolver.loadFile()
IdResolver.resolver_parameters
IdResolver.sF
IdResolver.searchFields
IdResolver.setup()
IdResolver.stringMatch()
str2unicode()
tokenise()
- linotp.useridresolver.SQLIdResolver module
IdResolver
IdResolver.checkMapping()
IdResolver.checkPass()
IdResolver.close()
IdResolver.connect()
IdResolver.critical_parameters
IdResolver.crypted_parameters
IdResolver.db_prefix
IdResolver.getResolverClassDescriptor()
IdResolver.getResolverClassType()
IdResolver.getResolverDescriptor()
IdResolver.getResolverId()
IdResolver.getResolverType()
IdResolver.getSearchFields()
IdResolver.getUserId()
IdResolver.getUserInfo()
IdResolver.getUserList()
IdResolver.getUsername()
IdResolver.loadConfig()
IdResolver.primary_key_changed()
IdResolver.resolver_parameters
IdResolver.setup()
IdResolver.testconnection()
build_simple_connect()
call_on_connect()
check_password()
dbObject
make_connect()
testconnection()
- linotp.useridresolver.UserIdResolver module
ResolverLoadConfigError
ResolverNotAvailable
UserIdResolver
UserIdResolver.checkPass()
UserIdResolver.close()
UserIdResolver.critical_parameters
UserIdResolver.crypted_parameters
UserIdResolver.fields
UserIdResolver.filter_config()
UserIdResolver.getResolverClassDescriptor()
UserIdResolver.getResolverClassType()
UserIdResolver.getResolverDescriptor()
UserIdResolver.getResolverId()
UserIdResolver.getResolverType()
UserIdResolver.getUserId()
UserIdResolver.getUserInfo()
UserIdResolver.getUserList()
UserIdResolver.getUsername()
UserIdResolver.id
UserIdResolver.is_change_critical()
UserIdResolver.loadConfig()
UserIdResolver.merge_crypted_parameters()
UserIdResolver.missing_crypted_parameters()
UserIdResolver.name
UserIdResolver.primary_key_changed()
UserIdResolver.resolver_parameters
getResolverClass()