Interface MongoAuthorization

All Superinterfaces:
AuthorizationProvider

public interface MongoAuthorization extends AuthorizationProvider
An extension of AuthProvider which is using MongoClient as store
Author:
francoisprunier
  • Field Details

    • DEFAULT_COLLECTION_NAME

      static final String DEFAULT_COLLECTION_NAME
      The default name of the collection to be used
      See Also:
    • DEFAULT_USERNAME_FIELD

      static final String DEFAULT_USERNAME_FIELD
      The default name of the property for the username, like it is stored in mongodb
      See Also:
    • DEFAULT_ROLE_FIELD

      static final String DEFAULT_ROLE_FIELD
      The default name of the property for the roles, like it is stored in mongodb. Roles are expected to be saved as JsonArray
      See Also:
    • DEFAULT_PERMISSION_FIELD

      static final String DEFAULT_PERMISSION_FIELD
      The default name of the property for the permissions, like it is stored in mongodb. Permissions are expected to be saved as JsonArray
      See Also:
  • Method Details