6263646566676869707172
switch (CredentialTypes.valueOf(credentialNames[i])) { case Name: credentials[i] = new NameCredential(); break; case Password: credentials[i] = new PasswordCredential(); break; default: //todo: throw a massive error here. }
5253545556575859606162
6465666768697071727374