class LDAPAuthenticator(Authenticator): def __init__(self, auth_server): Authenticator.__init__(self, auth_server) # test if we've got the "Use above" option self.queryer = LDAPDirectoryQueryer(auth_server) def authenticate(self, username, password): return self.queryer.authenticate(username, password)
def __init__(self, auth_server): Authenticator.__init__(self, auth_server) # test if we've got the "Use above" option self.queryer = LDAPDirectoryQueryer(auth_server)