| Package | Description |
|---|---|
| io.stargate.auth |
| Modifier and Type | Method and Description |
|---|---|
static SourceAPI |
SourceAPI.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceAPI[] |
SourceAPI.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizationService.authorizeDataRead(AuthenticationSubject authenticationSubject,
String keyspace,
String table,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization and if not successful throws an
exception.
|
void |
AuthorizationService.authorizeDataWrite(AuthenticationSubject authenticationSubject,
String keyspace,
String table,
List<TypedKeyValue> typedKeyValues,
Scope scope,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization where possible.
|
void |
AuthorizationService.authorizeDataWrite(AuthenticationSubject authenticationSubject,
String keyspace,
String table,
Scope scope,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization and if not successful throws an
exception.
|
ResultSet |
AuthorizationService.authorizedDataRead(Callable<ResultSet> action,
AuthenticationSubject authenticationSubject,
String keyspace,
String table,
List<TypedKeyValue> typedKeyValues,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization where possible, executes the query
provided, and then authorizes the response of the query.
|
void |
AuthorizationService.authorizePermissionManagement(AuthenticationSubject authenticationSubject,
String resource,
String grantee,
Scope scope,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization of permission management.
|
void |
AuthorizationService.authorizePermissionRead(AuthenticationSubject authenticationSubject,
String role,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization of permission access.
|
void |
AuthorizationService.authorizeRoleManagement(AuthenticationSubject authenticationSubject,
String role,
Scope scope,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization of role management.
|
void |
AuthorizationService.authorizeRoleManagement(AuthenticationSubject authenticationSubject,
String role,
String grantee,
Scope scope,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization of role management.
|
void |
AuthorizationService.authorizeRoleRead(AuthenticationSubject authenticationSubject,
String role,
SourceAPI sourceAPI)
Using the provided token will perform pre-authorization of role access.
|
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.
|
Copyright © 2022. All rights reserved.