code: def get_domain_realm(self, path_info, environ):
          
          realm = self._calc_realm_from_path_provider(path_info, environ)
          return realm
docs: Resolve a relative url to the appropriate realm name.