public class MongoAuthenticationOptions extends Object
Constructor and Description |
---|
MongoAuthenticationOptions() |
MongoAuthenticationOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getCollectionName() |
String |
getPasswordCredentialField() |
String |
getPasswordField() |
String |
getUsernameCredentialField() |
String |
getUsernameField() |
MongoAuthenticationOptions |
setCollectionName(String collectionName)
The property name to be used to set the name of the collection inside the config.
|
MongoAuthenticationOptions |
setPasswordCredentialField(String passwordCredentialField) |
MongoAuthenticationOptions |
setPasswordField(String passwordField)
The property name to be used to set the name of the field, where the password is stored inside
|
MongoAuthenticationOptions |
setUsernameCredentialField(String usernameCredentialField)
The property name to be used to set the name of the field, where the username for the credentials is stored inside.
|
MongoAuthenticationOptions |
setUsernameField(String usernameField)
The property name to be used to set the name of the field, where the username is stored inside.
|
public MongoAuthenticationOptions()
public MongoAuthenticationOptions(JsonObject json)
public String getCollectionName()
public MongoAuthenticationOptions setCollectionName(String collectionName)
collectionName
- the collection namepublic String getUsernameField()
public MongoAuthenticationOptions setUsernameField(String usernameField)
usernameField
- the username fieldpublic String getPasswordField()
public MongoAuthenticationOptions setPasswordField(String passwordField)
passwordField
- the password fieldpublic String getUsernameCredentialField()
public MongoAuthenticationOptions setUsernameCredentialField(String usernameCredentialField)
usernameCredentialField
- the username credential fieldpublic String getPasswordCredentialField()
public MongoAuthenticationOptions setPasswordCredentialField(String passwordCredentialField)
Copyright © 2023 Eclipse. All rights reserved.