The default name of the collection to be used
The default name of the property for the password, like it is transported in credentials by method {@link AuthenticationProvider#authenticate}
The default name of the property for the username, like it is transported in credentials by method {@link AuthenticationProvider#authenticate}
The default name of the property for the password, like it is stored in mongodb
The default name of the property for the permissions, like it is stored in mongodb. Permissions are expected to be saved as JsonArray
The default name of the property for the roles, like it is stored in mongodb. Roles are expected to be saved as JsonArray
The default name of the property for the salt field
The default name of the property for the username, like it is stored in mongodb
The property name to be used to set the name of the collection inside the config
The property name to be used to set the name of the field, where the password for the credentials is stored inside
The property name to be used to set the name of the field, where the username for the credentials is stored inside
The property name to be used to set the name of the field, where the password is stored inside
The property name to be used to set the name of the field, where the permissions are stored inside
The property name to be used to set the name of the field, where the roles are stored inside
The property name to be used to set the name of the field, where the SALT is stored inside
The property name to be used to set the name of the field, where the salt style is stored inside
The property name to be used to set the name of the field, where the username is stored inside
The prefix which is used by the method when checking for role access
The name of the collection used to store User objects inside. Defaults to DEFAULT_COLLECTION_NAME
The HashStrategy which is used by the current instance
Get the name of the field to be used as property for the password of credentials in the method {@link AuthenticationProvider#authenticate}. Defaults to DEFAULT_CREDENTIAL_PASSWORD_FIELD
Get the name of the field to be used for the password Defaults to DEFAULT_PASSWORD_FIELD
Get the name of the field to be used for the permissions. Defaults to DEFAULT_PERMISSION_FIELD. Permissions are expected to be saved as JsonArray
Get the name of the field to be used for the roles. Defaults to DEFAULT_ROLE_FIELD. Roles are expected to be saved as JsonArray
Get the name of the field to be used for the salt. Only used when {@link HashStrategy#setSaltStyle} is set to
Get the name of the field to be used as property for the username in the method {@link AuthenticationProvider#authenticate}. Defaults to DEFAULT_CREDENTIAL_USERNAME_FIELD
Get the name of the field to be used for the username. Defaults to DEFAULT_USERNAME_FIELD
Set the name of the collection to be used. Defaults to DEFAULT_COLLECTION_NAME
The Hash Algorithm which is used by the current instance
The HashStrategy which is used by the current instance
Set the name of the field to be used as property for the password of credentials in the method {@link AuthenticationProvider#authenticate}. Defaults to DEFAULT_CREDENTIAL_PASSWORD_FIELD
Set the name of the field to be used for the password Defaults to DEFAULT_PASSWORD_FIELD
Set the name of the field to be used for the permissions. Defaults to DEFAULT_PERMISSION_FIELD. Permissions are expected to be saved as JsonArray
Set the name of the field to be used for the roles. Defaults to DEFAULT_ROLE_FIELD. Roles are expected to be saved as JsonArray
Set the name of the field to be used for the salt. Only used when {@link HashStrategy#setSaltStyle} is set to
Set the name of the field to be used as property for the username in the method {@link AuthenticationProvider#authenticate}. Defaults to DEFAULT_CREDENTIAL_USERNAME_FIELD
Set the name of the field to be used for the username. Defaults to DEFAULT_USERNAME_FIELD
Creates an instance of MongoAuth by using the given and configuration object. An example for a configuration object:
JsonObject js = new JsonObject(); js.put(MongoAuth.PROPERTY_COLLECTION_NAME, createCollectionName(MongoAuth.DEFAULT_COLLECTION_NAME));
Generated using TypeDoc
An extension of AuthProvider which is using as store