Package | Description |
---|---|
io.vertx.rxjava.ext.auth | |
io.vertx.rxjava.ext.auth.authorization | |
io.vertx.rxjava.ext.web.handler |
Modifier and Type | Method and Description |
---|---|
User |
User.isAuthorized(Authorization authority)
Deprecated.
|
User |
User.isAuthorized(Authorization authority,
Handler<AsyncResult<Boolean>> resultHandler)
Deprecated.
|
Single<Boolean> |
User.rxIsAuthorized(Authorization authority)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AndAuthorization
Allows to perform a logical 'and' between several authorizations
NOTE: This class has been automatically generated from the
original non RX-ified interface using Vert.x codegen. |
class |
NotAuthorization
Allows to perform a logical 'not' of the specified authorization
NOTE: This class has been automatically generated from the
original non RX-ified interface using Vert.x codegen. |
class |
OrAuthorization
Allows to perform a logical 'or' between several authorizations
NOTE: This class has been automatically generated from the
original non RX-ified interface using Vert.x codegen. |
class |
PermissionBasedAuthorization
Represents a permission Note that the permission can optionally be assigned
to a specific resource
NOTE: This class has been automatically generated from the
original non RX-ified interface using Vert.x codegen. |
class |
RoleBasedAuthorization
Represents a role.
|
class |
WildcardPermissionBasedAuthorization
Represents a wildcard permission (ie: 'manage:order:*' '*:orders', '*', etc.)
Note that it can optionally be assigned to a specific resource
NOTE: This class has been automatically generated from the
original non RX-ified interface using Vert.x codegen. |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Authorization> |
Authorization.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
Authorization |
NotAuthorization.getAuthorization() |
static Authorization |
Authorization.newInstance(Authorization arg) |
Modifier and Type | Method and Description |
---|---|
Set<Authorization> |
Authorizations.get(String providerId) |
List<Authorization> |
AndAuthorization.getAuthorizations() |
List<Authorization> |
OrAuthorization.getAuthorizations() |
Modifier and Type | Method and Description |
---|---|
Authorizations |
Authorizations.add(String providerId,
Authorization authorization) |
AndAuthorization |
AndAuthorization.addAuthorization(Authorization authorization) |
OrAuthorization |
OrAuthorization.addAuthorization(Authorization authorization) |
static NotAuthorization |
NotAuthorization.create(Authorization authorization) |
boolean |
Authorization.verify(Authorization authorization)
this method verifies whether or not the authorization implies the specified
authorization.
|
Modifier and Type | Method and Description |
---|---|
Authorizations |
Authorizations.add(String providerId,
Set<Authorization> authorizations) |
static AuthorizationProvider |
AuthorizationProvider.create(String id,
Set<Authorization> authorizations)
create an authorization provider with the specified id and authorizations
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationHandler |
AuthorizationHandler.create(Authorization authorization)
create the the handler that will check the specified authorization
Note that to check several authorizations, you can specify a sub-interface such as
AndAuthorization or OrAuthorization |
Copyright © 2024 Eclipse. All rights reserved.