code: @Deprecated
      public List<MongoCredential> getCredentialList() {
          return credential != null ? singletonList(credential) : Collections.<MongoCredential>emptyList();
      }
docs: Gets the credentials in an immutable list.  The list will be empty if no credentials were specified in the connection string.
  
  @return the credentials in an immutable list
  @deprecated Prefer {@link #getCredential()}