':param srv: The server instance
:param mako_template: Which Mako template to use
:param pwd: Username/password dictionary like database
:param return_to: Where to send the user after authentication
:return:'

def __init__(self, srv, mako_template, template_lookup, pwd, return_to):

    UserAuthnMethod.__init__(self, srv)
    self.mako_template = mako_template
    self.template_lookup = template_lookup
    self.passwd = pwd
    self.return_to = return_to
    self.active = {}
    self.query_param = 'upm_answer'
    self.aes = AESCipher(self.srv.symkey, srv.iv)
