public class MongoAuthorization extends AuthorizationProvider
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MongoAuthorization> |
__TYPE_ARG |
static String |
DEFAULT_COLLECTION_NAME
The default name of the collection to be used
|
static String |
DEFAULT_PERMISSION_FIELD
The default name of the property for the permissions, like it is stored in mongodb.
|
static String |
DEFAULT_ROLE_FIELD
The default name of the property for the roles, like it is stored in mongodb.
|
static String |
DEFAULT_USERNAME_FIELD
The default name of the property for the username, like it is stored in mongodb
|
Constructor and Description |
---|
MongoAuthorization(MongoAuthorization delegate) |
MongoAuthorization(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static MongoAuthorization |
create(String providerId,
MongoClient mongoClient,
MongoAuthorizationOptions options)
Creates an instance of MongoAuthorization by using the given and configuration object.
|
boolean |
equals(Object o) |
MongoAuthorization |
getDelegate() |
int |
hashCode() |
static MongoAuthorization |
newInstance(MongoAuthorization arg) |
String |
toString() |
create, getAuthorizations, getId, newInstance, rxGetAuthorizations
public static final io.vertx.lang.rx.TypeArg<MongoAuthorization> __TYPE_ARG
public static final String DEFAULT_COLLECTION_NAME
public static final String DEFAULT_USERNAME_FIELD
public static final String DEFAULT_ROLE_FIELD
public static final String DEFAULT_PERMISSION_FIELD
public MongoAuthorization(MongoAuthorization delegate)
public MongoAuthorization(Object delegate)
public String toString()
toString
in class AuthorizationProvider
public boolean equals(Object o)
equals
in class AuthorizationProvider
public int hashCode()
hashCode
in class AuthorizationProvider
public MongoAuthorization getDelegate()
getDelegate
in class AuthorizationProvider
public static MongoAuthorization create(String providerId, MongoClient mongoClient, MongoAuthorizationOptions options)
providerId
- the provider ID to differentiate from othersmongoClient
- an instance of to be used for data storage and retrivaloptions
- the configuration object for the current instance.MongoAuthorization
public static MongoAuthorization newInstance(MongoAuthorization arg)
Copyright © 2024 Eclipse. All rights reserved.