code: def _processHandler(self, securityHandler, param_dict):
          
          cj = None
          handler = None
          if securityHandler is None:
              cj = cookiejar.CookieJar()
          elif securityHandler.method.lower() == "token":
              param_dict['token'] = securityHandler.token
              if hasattr(securityHandler, 'cookiejar'):
                  cj = securityHandler.cookiejar
              if hasattr(securityHandler, 'handler'):
                  handler = securityHandler.handler
          elif securityHandler.method.lower() == "handler":
              handler = securityHandler.handler
              cj = securityHandler.cookiejar
          return param_dict, handler, cj
docs: proceses the handler and returns the cookiejar