Home | History | Annotate | Download | only in python2.7

Lines Matching refs:realm

686         match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
690 scheme, realm = match.groups()
696 return getattr(self,name)(url, realm)
698 return getattr(self,name)(url, realm, data)
708 match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
712 scheme, realm = match.groups()
718 return getattr(self,name)(url, realm)
720 return getattr(self,name)(url, realm, data)
722 def retry_proxy_http_basic_auth(self, url, realm, data=None):
730 user, passwd = self.get_user_passwd(proxyhost, realm, i)
739 def retry_proxy_https_basic_auth(self, url, realm, data=None):
747 user, passwd = self.get_user_passwd(proxyhost, realm, i)
756 def retry_http_basic_auth(self, url, realm, data=None):
760 user, passwd = self.get_user_passwd(host, realm, i)
769 def retry_https_basic_auth(self, url, realm, data=None):
773 user, passwd = self.get_user_passwd(host, realm, i)
782 def get_user_passwd(self, host, realm, clear_cache=0):
783 key = realm + '@' + host.lower()
789 user, passwd = self.prompt_user_passwd(host, realm)
793 def prompt_user_passwd(self, host, realm):
797 user = raw_input("Enter username for %s at %s: " % (realm,
800 (user, realm, host))