Modifier and Type | Method and Description |
---|---|
default Future<Boolean> |
User.isAuthorized(Authorization authority)
Deprecated.
|
User |
User.isAuthorized(Authorization authority,
Handler<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
|
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 |
Modifier and Type | Method and Description |
---|---|
Authorization |
Authorization.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Authorization |
Authorization.newInstance(Authorization arg) |
Constructor and Description |
---|
Authorization(Authorization delegate) |
Modifier and Type | Method and Description |
---|---|
Authorization |
Authorization.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Authorization |
Authorization.newInstance(Authorization arg) |
Constructor and Description |
---|
Authorization(Authorization delegate) |
Modifier and Type | Method and Description |
---|---|
Authorization |
Authorization.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Authorization |
Authorization.newInstance(Authorization arg) |
Constructor and Description |
---|
Authorization(Authorization delegate) |
Modifier and Type | Method and Description |
---|---|
AuthorizationInterceptor |
AuthorizationInterceptor.addAuthorization(Authorization authorization)
Add a single authority to the authorities set.
|
ServiceAuthInterceptor |
ServiceAuthInterceptor.addAuthorization(Authorization authorization)
Deprecated.
Add a single authority to the authorities set.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationInterceptor |
AuthorizationInterceptor.setAuthorizations(Set<Authorization> authorizations)
Set the required authorities for the service, once a JWT is validated it will be
queried for these authorities.
|
ServiceAuthInterceptor |
ServiceAuthInterceptor.setAuthorizations(Set<Authorization> authorizations)
Deprecated.
Set the required authorities for the service, once a JWT is validated it will be
queried for these authorities.
|
Copyright © 2024 Eclipse. All rights reserved.