/** * Gets the credentials. * * @return the credentials */ @Nullable public MongoCredential getCredentials() { return proxied.getCredential(); }
if (connectionString.getCredential() != null) { credential = connectionString.getCredential();
/** * Gets the credentials. * * @return the credentials */ @Nullable public MongoCredential getCredentials() { return proxied.getCredential(); }
if (connectionString.getCredential() != null) { credential = connectionString.getCredential();
.clusterSettings(ClusterSettings.builder().applyConnectionString(connectionString).build()); if (connectionString.getCredential() != null) { builder.credential(connectionString.getCredential());
.clusterSettings(ClusterSettings.builder().applyConnectionString(connectionString).build()); if (connectionString.getCredential() != null) { builder.credential(connectionString.getCredential());