Skip to content

Commit

Permalink
defines database authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviojava committed May 3, 2019
1 parent 283d8aa commit 1ed11b3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
import java.util.function.Supplier;

public enum MongoDBDocumentConfigurations implements Supplier<String> {
HOST("mongodb.host"), USER("mongodb.user"), PASSWORD("mongodb.password"), AUTHENTICATION_DATABASE("mongodb.authentication.table");
HOST("mongodb.host"), USER("mongodb.user"),
PASSWORD("mongodb.password"),
AUTHENTICATION_DATABASE("mongodb.authentication.table"),
AUTHENTICATION_MECHANISM("mongodb.authentication.mechanism");

private final String configuration;

Expand Down

0 comments on commit 1ed11b3

Please sign in to comment.