Package | Description |
---|---|
io.vertx.ext.auth | |
io.vertx.ext.auth.authorization |
Modifier and Type | Method and Description |
---|---|
default io.vertx.core.Future<Boolean> |
User.isAuthorized(Authorization authority)
Deprecated.
|
User |
User.isAuthorized(Authorization authority,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AndAuthorization
Allows to perform a logical 'and' between several authorizations
|
interface |
NotAuthorization
Allows to perform a logical 'not' of the specified authorization
|
interface |
OrAuthorization
Allows to perform a logical 'or' between several authorizations
|
interface |
PermissionBasedAuthorization
Represents a permission Note that the permission can optionally be assigned
to a specific resource
|
interface |
RoleBasedAuthorization
Represents a role.
|
interface |
WildcardPermissionBasedAuthorization
Represents a wildcard permission (ie: 'manage:order:*' '*:orders', '*', etc.)
Note that it can optionally be assigned to a specific resource
|
Modifier and Type | Method and Description |
---|---|
Authorization |
NotAuthorization.getAuthorization() |
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
|
Copyright © 2020 Eclipse. All rights reserved.