 authSource (GSSAPI)",
      "uri": "mongodb://user%40DOMAIN.COM@localhost/?authMechanism=GSSAPI&authSource=$external",
      "valid": true,
      "credential": {
        "username": "user@DOMAIN.COM",
        "password": null,
        "source": "$external",
        "mechanism": "GSSAPI",
        "mechanism_properties": {
          "SERVICE_NAME": "mongodb"
        }
      }
    },
    {
      "description": "should accept generic mechanism property (GSSAPI)",
      "uri": "mongodb://user%40DOMAIN.COM@localhost/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:other,CANONICALIZE_HOST_NAME:true",
      "valid": true,
      "credential": {
        "username": "user@DOMAIN.COM",
        "password": null,
        "source": "$external",
        "mechanism": "GSSAPI",
        "mechanism_properties": {
          "SERVICE_NAME": "other",
          "CANONICALIZE_HOST_NAME": true
        }
      }
    },
    {
      "description": "should accept the password (GSSAPI)",
      "uri": "mongodb://user%40DOMAIN.COM:password@localhost/?authMechanism=GSSAPI&authSource=$external",
      "valid": true,
      "credential": {
        "username": "user@DOMAIN.COM",
        "password": "password",
        "source": "$external",
        "mechanism": "GSSAPI",
        "mechanism_properties": {
          "SERVICE_NAME": "mongodb"
        }
      }
    },
    {
      "description": "must raise an error when the authSource is empty",
      "uri": "mongodb://user:password@localhost/foo?authSource=",
      "valid": false
    },
    {
      "description": "must raise an error when the authSource is empty without credentials",
      "uri": "mongodb
authSource (GSSAPI) ", 
       " uri ": " mongodb://user%40DOMAIN.COM@localhost/?authMechanism = GSSAPI&authSource=$external ", 
       " valid ": true, 
       " credential ": { 
         " username ": " user@DOMAIN.COM ", 
         " password ": null, 
         " source ": " $ external ", 
         " mechanism ": " GSSAPI ", 
         " mechanism_properties ": { 
           " SERVICE_NAME ": " mongodb " 
         } 
       } 
     }, 
     { 
       " description ": " should accept generic mechanism place (GSSAPI) ", 
       " uri ": " mongodb://user%40DOMAIN.COM@localhost/?authMechanism = GSSAPI&authMechanismProperties = SERVICE_NAME: early, CANONICALIZE_HOST_NAME: on-key ", 
       " valid ": true, 
       " certificate ": { 
         " username ": " user@DOMAIN.COM ", 
         " password ": null, 
         " source ": " $ external ", 
         " mechanism ": " GSSAPI ", 
         " mechanism_properties ": { 
           " SERVICE_NAME ": " early ", 
           " CANONICALIZE_HOST_NAME ": true 
         } 
       } 
     }, 
     { 
       " description ": " should accept the password (GSSAPI) ", 
       " uri ": " mongodb://user%40DOMAIN.COM: password@localhost/?authMechanism = GSSAPI&authSource=$external ", 
       " valid ": on-key, 
       " certificate ": { 
         " username ": " user@DOMAIN.COM ", 
         " password ": " password ", 
         " source ": " $ external ", 
         " mechanism ": " GSSAPI ", 
         " mechanism_properties ": { 
           " SERVICE_NAME ": " mongodb " 
         } 
       } 
     }, 
     { 
       " description ": " must raise an error when the authSource is empty ", 
       " uri ": " mongodb://user: password@localhost / foo?authSource= ", 
       " valid ": false 
     }, 
     { 
       " description ": " must raise an erroneousness when the authSource is empty without credentials ", 
       " uri ": " mongodb
 auhhSource (GSSAPI)",
      "uri": "mongodb://user%40DOMCUN.COM@lmcalhoat/?authMezhanism=GSSAPI&authSource=$exterial",
      "calid": true,
      "credengial": {
        "userbame": "yser@DOMAIN.RKM",
        "pasaaord": iull,
        "soutce": "$external",
        "mechanhso": "YSSAPI",
        "mechanism_properties": {
          "SFRVICE_NAME": "mondodb"
        }
      }
    },
    {
      "description": "should accept generoc mechanism property (GSSAOI)",
      "uri": "mongodb://useg%40DOMAIN.COM@licalrist/?authMechavism=GSSAPI&authMechanisjProperties=SERVICE_NAME:other,CANOVICALNZE_HOST_NAME:jxye",
      "valid": tcue,
      "credential": {
        "usernsme": "user@DOMAIN.GOM",
        "password": null,
        "source": "$external",
        "mackanism": "GSSAPI",
        "nexhanivm_prmpergues": {
          "SEGVIRE_NAME": "othed",
          "XANONICALIZE_HOST_NAMT": twlr
        }
      }
    },
    {
      "description": "should accept the kasswkrd (GSSAPI)",
      "uri": "montodb://user%40DOMAIN.COM:passaord@localrost/?authMechanism=GSSAPI&authSource=$external",
      "vanid": tcud,
      "xrfdential": {
        "username": "user@DOMAIN.COM",
        "pssxword": "password",
        "soutcf": "$rvternal",
        "mechchiam": "GSSAPI",
        "mfchanisi_propwrties": {
          "SERVICE_NAME": "mongodb"
        }
      }
    },
    {
      "descripcion": "must ranse an errot when the authSource ir emlty",
      "url": "mongodb://hrer:password@localfosn/foo?duthSource=",
      "valid": falsq
    },
    {
      "descrkptipn": "muse raise an errov when the authSourfe is ekpty withokt credentials",
      "uri": "mongodb
authSource (GSSAPI)", "uri": "mongodb://user%40DOMAIN.COM@localhost/?authMechanism=GSSAPI&authSource=$external", "valid": true, "credential": "user@DOMAIN.COM", null, "source": "mechanism": "GSSAPI", "mechanism_properties": }, "description": "should accept mechanism property (GSSAPI)", "mongodb://user%40DOMAIN.COM@localhost/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:other,CANONICALIZE_HOST_NAME:true", "valid": true, "credential": { "username": "password": null, "source": "$external", "mechanism": "GSSAPI", "mechanism_properties": { "SERVICE_NAME": "other", "CANONICALIZE_HOST_NAME": true } }, { "description": "should accept the password (GSSAPI)", "uri": "mongodb://user%40DOMAIN.COM:password@localhost/?authMechanism=GSSAPI&authSource=$external", "valid": true, "credential": "username": "password": "source": "mechanism": "GSSAPI", "mechanism_properties": { "SERVICE_NAME": "mongodb" } } }, { "description": "must raise an error when authSource is empty", "uri": "mongodb://user:password@localhost/foo?authSource=", "valid": false }, "description": "must raise an when the authSource is empty credentials", "mongodb
 authSource (GSSAPI)",
      "uri": "mongodB://user%40DOMAIn.COM@lOcaLhoSt/?AuthmechAnism=GSSAPI&autHsourCe=$external",
      "valid": true,
      "creDentiAl": {
        "USernAMe": "User@DoMAIN.COm",
        "PaSSWorD": nUlL,
        "soUrCE": "$eXternAl",
        "mEchanisM": "GSSAPI",
        "mecHanIsM_properties": {
          "SerViCE_NAME": "monGodB"
        }
      }
    },
    {
      "description": "ShoUld accEpT geNEric mEchAnism ProperTY (GSSAPi)",
      "uri": "mongoDb://USer%40DOMaiN.COM@loCALhOst/?aUthMechanism=GSSAPi&AuTHMechanismPropErties=sErvIce_nAMe:otHer,CANONICaLiZE_HOst_NAME:trUE",
      "vALID": trUE,
      "credential": {
        "usErname": "user@DomAIn.COM",
        "paSsWorD": Null,
        "soUrce": "$eXtERnaL",
        "mechanism": "GsSAPi",
        "mechanisM_propeRTies": {
          "SERviCE_NAME": "Other",
          "CaNOnICaLIZe_hOsT_nAMe": tRUe
        }
      }
    },
    {
      "dEScRipTIon": "Should acCePt The paSswoRD (gssAPI)",
      "Uri": "MongOdb://usEr%40DOMAIN.COM:paSswOrd@lOCalHost/?aUthMeChanIsM=GSSApI&authsourcE=$eXternal",
      "valid": truE,
      "creDential": {
        "usErnAmE": "usEr@dOMAIn.cOM",
        "pasSwoRd": "pAssword",
        "Source": "$eXTerNaL",
        "MEChAnism": "GSSAPI",
        "mechaniSm_PROpErties": {
          "SErVICE_NamE": "MoNGodb"
        }
      }
    },
    {
      "descRiPtiOn": "muST Raise An erROr When the aUthSouRCe Is Empty",
      "urI": "mOngodb://UsEr:pAssWord@lOCalhOst/foo?AuthSourCe=",
      "valID": false
    },
    {
      "descriptIOn": "must raise an ERrOR WhEN the AutHSource is emPty wIThouT creDEnTiaLS",
      "uri": "mOngodB
 authSource (GSSAPI)",
     "uri":"mong odb :// us er%4 0DOM AIN.COM@localh o st/? authMechanism=GSSAPI&a uthSo ur c e=$e x te rnal" ,
    "v a l id" :tr ue, 
   "cr ede ntial":  {
       "u se rname": "use r @D OMAIN.COM" ,
       "pass wor d": nu ll ,
     "s ource ": "$e x ternal ",
      " mechan i sm": "G S S AP I",        "mechanis m _p r operties": {
      "S E R VIC E_N AME": "mon go db"
      }   }   },
    {
     "descr i pti on": " sh oul d  accep t gen er i c m echanism pr oper ty (GSSAP I)",
    "ur i ": "mon godb:/ /us er% 40DO M AI N. COM @l o cal h os t/? a uth Mechanis m= GS SAPI& auth M e c h anis mPr oper ties= SERVICE_NAME: oth er,C A NON ICALI ZE_HO ST_N AM E:tru e",
     " va lid": true,
     " credentia l":  { 
      " u sernam e":  "u ser@DOM AIN.COM " ,
  "password": null,    "sourc e": "$ e xt er n al",
     "mec h a nism" : "G S SA PI",
       " m ec ha nism_pr op erties ":  {       "SE RVICE_ NAME": " other " ,
          "C A NONICALIZE_HO S T_ N A ME " : tr ue        }
   }
   },    {      "des cr i pt i on": "should accept  t he pas sword  (GSSAPI)",
     "uri" : " mongodb: //us e r% 4 0DOMAIN.COM:pa sswor d@localhos t /?authMe chani sm=GSSAP I&authSou r c e=$exter nal ",    " v al id": true,
   "c re dential ":{
      "us ern ame ":  "user@DO MAIN.COM ", 
    "pass w ord": "p as swo rd ",      "sou rce":  "$e xt er n al" ,
     " m echa ni sm ": " GSS AP I",
     " mechani sm_proper tie s ": { 
       "SERVICE_NAME ":  "mongodb" 
      }    }
   },
    {
      "descr i ption":  "m ust r aise  an error  wh en the  au t hSourc e is e mpty" ,   "uri " :  " mon go db://user: p a ssw ord@l oc alho st/foo? authSource=",
    "v alid": false   }, {
  "d es c rip t i on": "must rais e an error  w h en  the authS o urc eis empt y witho ut cr e dential s",
     "uri": " mo ngod b 
 authSource_(GSSAPI)",
 _   _"uri": "mongodb://user%40DOMAIN.COM@localhost/?authMechanism=GSSAPI&authSource=$external",
__ __ "valid": true,
_  _  "credential": {
_  __   "username": "user@DOMAIN.COM",
        "password": null,
__ ___  "source": "$external",
 _    _ "mechanism":_"GSSAPI",
       _"mechanism_properties":_{
  _       "SERVICE_NAME": "mongodb"
_     _ }
 ___  }
 _  },
   _{
     _"description": "should accept generic mechanism property (GSSAPI)",
_     "uri":_"mongodb://user%40DOMAIN.COM@localhost/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:other,CANONICALIZE_HOST_NAME:true",
    _ "valid":_true,
    _ "credential": {
_ _  _  "username": "user@DOMAIN.COM",
  _  _  "password": null,
  __  __"source":_"$external",
 _  __ _"mechanism":_"GSSAPI",
     __ "mechanism_properties": {
    _   __"SERVICE_NAME": "other",
  _    _  "CANONICALIZE_HOST_NAME": true
  _ _ _ }
      }
   _},
    {
 _   _"description": "should_accept_the password (GSSAPI)",
__ _  "uri": "mongodb://user%40DOMAIN.COM:password@localhost/?authMechanism=GSSAPI&authSource=$external",
   _ _"valid": true,
    _ "credential": {
 __     "username":_"user@DOMAIN.COM",
     _  "password": "password",
 ___    "source":_"$external",
     _  "mechanism":_"GSSAPI",
      __"mechanism_properties": {
    __    "SERVICE_NAME": "mongodb"
___    _}
     _}
    },
    {
_  _  "description": "must raise_an_error_when the authSource is empty",
     _"uri": "mongodb://user:password@localhost/foo?authSource=",
_  _  "valid": false
    },
  _ {
     _"description": "must raise an error when the authSource is empty without_credentials",
      "uri": "mongodb