MongoAuthenticationOptions for authentication and MongoAuthorizationOptions for authorization@Deprecated public class MongoAuthOptions extends Object implements AuthOptions
| Constructor and Description |
|---|
MongoAuthOptions()
Deprecated.
|
MongoAuthOptions(JsonObject json)
Deprecated.
|
MongoAuthOptions(MongoAuthOptions that)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MongoAuthOptions |
clone()
Deprecated.
|
MongoAuth |
createProvider(Vertx vertx)
Deprecated.
Create the suitable provider for this option.
|
String |
getCollectionName()
Deprecated.
|
JsonObject |
getConfig()
Deprecated.
|
String |
getDatasourceName()
Deprecated.
|
String |
getPasswordField()
Deprecated.
|
String |
getPermissionField()
Deprecated.
|
String |
getRoleField()
Deprecated.
|
String |
getSaltField()
Deprecated.
|
HashSaltStyle |
getSaltStyle()
Deprecated.
|
boolean |
getShared()
Deprecated.
|
String |
getUsernameCredentialField()
Deprecated.
|
String |
getUsernameField()
Deprecated.
|
MongoAuthOptions |
setCollectionName(String collectionName)
Deprecated.
The property name to be used to set the name of the collection inside the config.
|
MongoAuthOptions |
setConfig(JsonObject config)
Deprecated.
The mongo client configuration: see Mongo Client documentation.
|
MongoAuthOptions |
setDatasourceName(String datasourceName)
Deprecated.
The mongo data source name: see Mongo Client documentation.
|
MongoAuthOptions |
setPasswordField(String passwordField)
Deprecated.
The property name to be used to set the name of the field, where the password is stored inside
|
MongoAuthOptions |
setPermissionField(String permissionField)
Deprecated.
The property name to be used to set the name of the field, where the permissions are stored inside.
|
MongoAuthOptions |
setRoleField(String roleField)
Deprecated.
The property name to be used to set the name of the field, where the roles are stored inside.
|
MongoAuthOptions |
setSaltField(String saltField)
Deprecated.
The property name to be used to set the name of the field, where the SALT is stored inside.
|
MongoAuthOptions |
setSaltStyle(HashSaltStyle saltStyle)
Deprecated.
The property name to be used to set the name of the field, where the salt style is stored inside
|
MongoAuthOptions |
setShared(boolean shared)
Deprecated.
Use a shared Mongo client or not.
|
MongoAuthOptions |
setUsernameCredentialField(String usernameCredentialField)
Deprecated.
The property name to be used to set the name of the field, where the username for the credentials is stored inside.
|
MongoAuthOptions |
setUsernameField(String usernameField)
Deprecated.
The property name to be used to set the name of the field, where the username is stored inside.
|
public MongoAuthOptions()
public MongoAuthOptions(MongoAuthOptions that)
public MongoAuthOptions(JsonObject json)
public MongoAuthOptions clone()
clone in interface AuthOptionsclone in class Objectpublic MongoAuth createProvider(Vertx vertx)
AuthOptionscreateProvider in interface AuthOptionsvertx - the vertx instancepublic boolean getShared()
public MongoAuthOptions setShared(boolean shared)
shared - true to use a shared clientpublic String getDatasourceName()
public MongoAuthOptions setDatasourceName(String datasourceName)
datasourceName - the data source namepublic JsonObject getConfig()
public MongoAuthOptions setConfig(JsonObject config)
config - the mongo configpublic String getCollectionName()
public MongoAuthOptions setCollectionName(String collectionName)
collectionName - the collection namepublic String getUsernameField()
public MongoAuthOptions setUsernameField(String usernameField)
usernameField - the username fieldpublic String getPasswordField()
public MongoAuthOptions setPasswordField(String passwordField)
passwordField - the password fieldpublic String getRoleField()
public MongoAuthOptions setRoleField(String roleField)
roleField - the role fieldpublic String getPermissionField()
public MongoAuthOptions setPermissionField(String permissionField)
permissionField - the permission fieldpublic String getUsernameCredentialField()
public MongoAuthOptions setUsernameCredentialField(String usernameCredentialField)
usernameCredentialField - the username credential fieldpublic String getSaltField()
public MongoAuthOptions setSaltField(String saltField)
saltField - the salt fieldpublic HashSaltStyle getSaltStyle()
public MongoAuthOptions setSaltStyle(HashSaltStyle saltStyle)
saltStyle - the salt styleCopyright © 2023 Eclipse. All rights reserved.