class MongoAuthOptions extends AuthOptions
Options configuring Mongo authentication.
- Alphabetic
- By Inheritance
- MongoAuthOptions
- AuthOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MongoAuthOptions(_asJava: ext.auth.mongo.MongoAuthOptions)
Value Members
- def asJava: ext.auth.mongo.MongoAuthOptions
- def getCollectionName: String
- def getConfig: JsonObject
- def getDatasourceName: String
- def getPasswordField: String
- def getPermissionField: String
- def getRoleField: String
- def getSaltField: String
- def getSaltStyle: HashSaltStyle
- def getShared: Boolean
- def getUsernameCredentialField: String
- def getUsernameField: String
-
def
setCollectionName(value: String): MongoAuthOptions
The property name to be used to set the name of the collection inside the config.
-
def
setConfig(value: JsonObject): MongoAuthOptions
The mongo client configuration: see Mongo Client documentation.
-
def
setDatasourceName(value: String): MongoAuthOptions
The mongo data source name: see Mongo Client documentation.
-
def
setPasswordField(value: String): MongoAuthOptions
The property name to be used to set the name of the field, where the password is stored inside
-
def
setPermissionField(value: String): MongoAuthOptions
The property name to be used to set the name of the field, where the permissions are stored inside.
-
def
setRoleField(value: String): MongoAuthOptions
The property name to be used to set the name of the field, where the roles are stored inside.
-
def
setSaltField(value: String): MongoAuthOptions
The property name to be used to set the name of the field, where the SALT is stored inside.
-
def
setSaltStyle(value: HashSaltStyle): MongoAuthOptions
The property name to be used to set the name of the field, where the salt style is stored inside
-
def
setShared(value: Boolean): MongoAuthOptions
Use a shared Mongo client or not.
-
def
setUsernameCredentialField(value: String): MongoAuthOptions
The property name to be used to set the name of the field, where the username for the credentials is stored inside.
-
def
setUsernameField(value: String): MongoAuthOptions
The property name to be used to set the name of the field, where the username is stored inside.