| Package | Description |
|---|---|
| io.stargate.auth | |
| io.stargate.auth.entity |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizationService.authorizeSchemaRead(AuthenticationSubject authenticationSubject,
List<String> keyspaceNames,
List<String> tableNames,
SourceAPI sourceAPI,
ResourceKind resource)
Using the provided token will perform pre-authorization of accessing the provided resources.
|
void |
AuthorizationService.authorizeSchemaWrite(AuthenticationSubject authenticationSubject,
String keyspace,
String table,
Scope scope,
SourceAPI sourceAPI,
ResourceKind resource)
Using the provided token will perform pre-authorization where possible and if not successful
throws an exception.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceKind |
ImmutableAuthorizedResource.kind()
Identifies the resource kind.
|
ResourceKind |
AuthorizedResource.kind()
Identifies the resource kind.
|
static ResourceKind |
ResourceKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceKind[] |
ResourceKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableAuthorizedResource.Builder |
ImmutableAuthorizedResource.Builder.kind(ResourceKind kind)
Initializes the value for the
kind attribute. |
static ImmutableAuthorizedResource |
ImmutableAuthorizedResource.of(ResourceKind kind)
Construct a new immutable
AuthorizedResource instance. |
ImmutableAuthorizedResource |
ImmutableAuthorizedResource.withKind(ResourceKind value)
Copy the current immutable object by setting a value for the
kind attribute. |
Copyright © 2022. All rights reserved.