A B C D E F G H I J K M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCESS - io.stargate.auth.PermissionKind
-
Indicates the related permission controls access to the resource.
- AccessPermission - Interface in io.stargate.auth.entity
-
Represents a permission from a particular
Persistenceimplementation. - Actor - Interface in io.stargate.auth.entity
-
Identifies an actor performing permission grants or revocations.
- addPermissions(Actor, AuthorizationOutcome, PermissionKind, Collection<AccessPermission>, AuthorizedResource, EntitySelector) - Method in interface io.stargate.auth.AuthorizationProcessor
-
Grants
granteethe specified accesspermissionson the specifiedresource. - AGGREGATE - io.stargate.auth.entity.ResourceKind
- ALLOW - io.stargate.auth.AuthorizationOutcome
-
Indicates that access to the related resource is allowed.
- ALTER - io.stargate.auth.Scope
- asUser() - Method in interface io.stargate.auth.AuthenticationSubject
- attemptTokenAuthentication(byte[]) - Method in class io.stargate.auth.PlainTextTokenSaslNegotiator
- authentication - Variable in class io.stargate.auth.PlainTextTokenSaslNegotiator
- AuthenticationService - Interface in io.stargate.auth
- authenticationSubject - Variable in class io.stargate.auth.PlainTextTokenSaslNegotiator
- AuthenticationSubject - Interface in io.stargate.auth
- AUTHORITY - io.stargate.auth.PermissionKind
-
Indicates the related permission controls the authority to grant/revoke access the resource to other users.
- AuthorizationOutcome - Enum in io.stargate.auth
-
Indicates whether access to a resource under the related permission is granted or denied.
- AuthorizationProcessor - Interface in io.stargate.auth
-
An abstraction of the authorization command processor in Stargate.
- AuthorizationService - Interface in io.stargate.auth
- AUTHORIZE - io.stargate.auth.Scope
- authorizeDataRead(AuthenticationSubject, String, String, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization and if not successful throws an exception.
- authorizeDataWrite(AuthenticationSubject, String, String, Scope, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization and if not successful throws an exception.
- authorizeDataWrite(AuthenticationSubject, String, String, List<TypedKeyValue>, Scope, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization where possible.
- authorizedDataRead(Callable<ResultSet>, AuthenticationSubject, String, String, List<TypedKeyValue>, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization where possible, executes the query provided, and then authorizes the response of the query.
- AuthorizedResource - Interface in io.stargate.auth.entity
-
Identifies a resource for authorization purposes.
- authorizePermissionManagement(AuthenticationSubject, String, String, Scope, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization of permission management.
- authorizePermissionRead(AuthenticationSubject, String, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization of permission access.
- authorizeRoleManagement(AuthenticationSubject, String, Scope, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization of role management.
- authorizeRoleManagement(AuthenticationSubject, String, String, Scope, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization of role management.
- authorizeRoleRead(AuthenticationSubject, String, SourceAPI) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization of role access.
- authorizeSchemaRead(AuthenticationSubject, List<String>, List<String>, SourceAPI, ResourceKind) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization of accessing the provided resources.
- authorizeSchemaWrite(AuthenticationSubject, String, String, Scope, SourceAPI, ResourceKind) - Method in interface io.stargate.auth.AuthorizationService
-
Using the provided token will perform pre-authorization where possible and if not successful throws an exception.
B
- build() - Method in class io.stargate.auth.entity.ImmutableAccessPermission.Builder
-
Builds a new
ImmutableAccessPermission. - build() - Method in class io.stargate.auth.entity.ImmutableActor.Builder
-
Builds a new
ImmutableActor. - build() - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource.Builder
-
Builds a new
ImmutableAuthorizedResource. - build() - Method in class io.stargate.auth.ImmutableAuthenticationSubject.Builder
-
Builds a new
ImmutableAuthenticationSubject. - builder() - Static method in class io.stargate.auth.entity.ImmutableAccessPermission
-
Creates a builder for
ImmutableAccessPermission. - builder() - Static method in class io.stargate.auth.entity.ImmutableActor
-
Creates a builder for
ImmutableActor. - builder() - Static method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Creates a builder for
ImmutableAuthorizedResource. - builder() - Static method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Creates a builder for
ImmutableAuthenticationSubject. - byName(String) - Static method in class io.stargate.auth.entity.EntitySelector
C
- clearPassword() - Method in class io.stargate.auth.Credentials
- copyOf(AuthenticationSubject) - Static method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Creates an immutable copy of a
AuthenticationSubjectvalue. - copyOf(AccessPermission) - Static method in class io.stargate.auth.entity.ImmutableAccessPermission
-
Creates an immutable copy of a
AccessPermissionvalue. - copyOf(Actor) - Static method in class io.stargate.auth.entity.ImmutableActor
-
Creates an immutable copy of a
Actorvalue. - copyOf(AuthorizedResource) - Static method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Creates an immutable copy of a
AuthorizedResourcevalue. - CQL - io.stargate.auth.SourceAPI
-
Used for CQL traffic (and gRPC).
- CREATE - io.stargate.auth.Scope
- createToken(String, String, Map<String, String>) - Method in interface io.stargate.auth.AuthenticationService
- createToken(String, Map<String, String>) - Method in interface io.stargate.auth.AuthenticationService
- Credentials - Class in io.stargate.auth
- CUSTOM_PAYLOAD_KEY - Static variable in enum io.stargate.auth.SourceAPI
- customProperties() - Method in interface io.stargate.auth.AuthenticationSubject
- customProperties() - Method in class io.stargate.auth.ImmutableAuthenticationSubject
- customProperties(Map<String, String>) - Method in class io.stargate.auth.ImmutableAuthenticationSubject.Builder
-
Initializes the value for the
customPropertiesattribute.
D
- decodeCredentials(byte[]) - Static method in class io.stargate.auth.PlainTextTokenSaslNegotiator
-
Copy of the private method: org.apache.cassandra.auth.PasswordAuthenticator.PlainTextSaslAuthenticator#decodeCredentials(byte[]).
- DELETE - io.stargate.auth.Scope
- DENY - io.stargate.auth.AuthorizationOutcome
-
Indicates that access to the related resource is denied.
- DESCRIBE - io.stargate.auth.Scope
- DROP - io.stargate.auth.Scope
E
- element() - Method in interface io.stargate.auth.entity.AuthorizedResource
-
Identifies the name of the resource.
- element() - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Identifies the name of the resource.
- element(EntitySelector) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource.Builder
-
Initializes the value for the
elementattribute. - EntitySelector - Class in io.stargate.auth.entity
-
Identifies an entity (e.g.
- equals(Object) - Method in class io.stargate.auth.entity.ImmutableAccessPermission
-
This instance is equal to all instances of
ImmutableAccessPermissionthat have equal attribute values. - equals(Object) - Method in class io.stargate.auth.entity.ImmutableActor
-
This instance is equal to all instances of
ImmutableActorthat have equal attribute values. - equals(Object) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
This instance is equal to all instances of
ImmutableAuthorizedResourcethat have equal attribute values. - equals(Object) - Method in class io.stargate.auth.ImmutableAuthenticationSubject
-
This instance is equal to all instances of
ImmutableAuthenticationSubjectthat have equal attribute values. - evaluateResponse(byte[]) - Method in class io.stargate.auth.PlainTextTokenSaslNegotiator
F
- forDML(BoundDMLQuery) - Static method in class io.stargate.auth.TypedKeyValue
- forSelect(BoundSelect) - Static method in class io.stargate.auth.TypedKeyValue
- from(AuthenticationSubject) - Method in class io.stargate.auth.ImmutableAuthenticationSubject.Builder
-
Fill a builder with attribute values from the provided
AuthenticationSubjectinstance. - from(AccessPermission) - Method in class io.stargate.auth.entity.ImmutableAccessPermission.Builder
-
Fill a builder with attribute values from the provided
AccessPermissioninstance. - from(Actor) - Method in class io.stargate.auth.entity.ImmutableActor.Builder
-
Fill a builder with attribute values from the provided
Actorinstance. - from(AuthorizedResource) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource.Builder
-
Fill a builder with attribute values from the provided
AuthorizedResourceinstance. - fromCustomPayload(Map<String, ByteBuffer>, SourceAPI) - Static method in enum io.stargate.auth.SourceAPI
- FUNCTION - io.stargate.auth.entity.ResourceKind
G
- getAuthenticatedUser() - Method in class io.stargate.auth.PlainTextTokenSaslNegotiator
- getEntityName() - Method in class io.stargate.auth.entity.EntitySelector
- getName() - Method in enum io.stargate.auth.SourceAPI
- getName() - Method in class io.stargate.auth.TypedKeyValue
- getPassword() - Method in class io.stargate.auth.Credentials
- getSaslNegotiator(Authenticator.SaslNegotiator, ClientInfo) - Method in interface io.stargate.auth.AuthenticationService
- getType() - Method in class io.stargate.auth.TypedKeyValue
- getUsername() - Method in class io.stargate.auth.Credentials
- getValue() - Method in class io.stargate.auth.TypedKeyValue
- GRANT - io.stargate.auth.Scope
- GRAPHQL - io.stargate.auth.SourceAPI
-
Used for GraphQL API.
H
- hashCode() - Method in class io.stargate.auth.entity.ImmutableAccessPermission
-
Computes a hash code from attributes:
name. - hashCode() - Method in class io.stargate.auth.entity.ImmutableActor
-
Computes a hash code from attributes:
roleName. - hashCode() - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Computes a hash code from attributes:
kind,keyspace,element. - hashCode() - Method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Computes a hash code from attributes:
token,roleName,isFromExternalAuth,customProperties.
I
- ImmutableAccessPermission - Class in io.stargate.auth.entity
-
Immutable implementation of
AccessPermission. - ImmutableAccessPermission.Builder - Class in io.stargate.auth.entity
-
Builds instances of type
ImmutableAccessPermission. - ImmutableActor - Class in io.stargate.auth.entity
-
Immutable implementation of
Actor. - ImmutableActor.Builder - Class in io.stargate.auth.entity
-
Builds instances of type
ImmutableActor. - ImmutableAuthenticationSubject - Class in io.stargate.auth
-
Immutable implementation of
AuthenticationSubject. - ImmutableAuthenticationSubject.Builder - Class in io.stargate.auth
-
Builds instances of type
ImmutableAuthenticationSubject. - ImmutableAuthorizedResource - Class in io.stargate.auth.entity
-
Immutable implementation of
AuthorizedResource. - ImmutableAuthorizedResource.Builder - Class in io.stargate.auth.entity
-
Builds instances of type
ImmutableAuthorizedResource. - INDEX - io.stargate.auth.entity.ResourceKind
- io.stargate.auth - package io.stargate.auth
- io.stargate.auth.entity - package io.stargate.auth.entity
- isComplete() - Method in class io.stargate.auth.PlainTextTokenSaslNegotiator
- isFromExternalAuth() - Method in interface io.stargate.auth.AuthenticationSubject
- isFromExternalAuth() - Method in class io.stargate.auth.ImmutableAuthenticationSubject
- isFromExternalAuth(boolean) - Method in class io.stargate.auth.ImmutableAuthenticationSubject.Builder
-
Initializes the value for the
isFromExternalAuthattribute. - isWildcard() - Method in class io.stargate.auth.entity.EntitySelector
J
K
- keyspace() - Method in interface io.stargate.auth.entity.AuthorizedResource
-
Identifies the keyspace of the resource.
- keyspace() - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Identifies the keyspace of the resource.
- keyspace(EntitySelector) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource.Builder
-
Initializes the value for the
keyspaceattribute. - KEYSPACE - io.stargate.auth.entity.ResourceKind
- kind() - Method in interface io.stargate.auth.entity.AuthorizedResource
-
Identifies the resource kind.
- kind() - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Identifies the resource kind.
- kind(ResourceKind) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource.Builder
-
Initializes the value for the
kindattribute.
M
N
- name() - Method in interface io.stargate.auth.entity.AccessPermission
-
The name of the permission relative to its
PermissionKind. - name() - Method in class io.stargate.auth.entity.ImmutableAccessPermission
-
The name of the permission relative to its
PermissionKind. - name(String) - Method in class io.stargate.auth.entity.ImmutableAccessPermission.Builder
-
Initializes the value for the
nameattribute.
O
- of(ResourceKind) - Static method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Construct a new immutable
AuthorizedResourceinstance. - of(AuthenticatedUser) - Static method in interface io.stargate.auth.AuthenticationSubject
- of(String) - Static method in class io.stargate.auth.entity.ImmutableAccessPermission
-
Construct a new immutable
AccessPermissioninstance. - of(String) - Static method in class io.stargate.auth.entity.ImmutableActor
-
Construct a new immutable
Actorinstance. - of(String, String) - Static method in interface io.stargate.auth.AuthenticationSubject
- of(String, String, boolean) - Static method in interface io.stargate.auth.AuthenticationSubject
- of(String, String, boolean, Map<String, String>) - Static method in interface io.stargate.auth.AuthenticationSubject
- of(String, String, boolean, Map<String, String>) - Static method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Construct a new immutable
AuthenticationSubjectinstance.
P
- PermissionKind - Enum in io.stargate.auth
-
Indicates a permission is given to access a resource (e.g.
- PlainTextTokenSaslNegotiator - Class in io.stargate.auth
- PlainTextTokenSaslNegotiator(AuthenticationService, Authenticator.SaslNegotiator, String, int) - Constructor for class io.stargate.auth.PlainTextTokenSaslNegotiator
R
- removePermissions(Actor, AuthorizationOutcome, PermissionKind, Collection<AccessPermission>, AuthorizedResource, EntitySelector) - Method in interface io.stargate.auth.AuthorizationProcessor
-
Revokes the specified access
permissionson the specifiedresourcefrom thegrantee. - ResourceKind - Enum in io.stargate.auth.entity
- REST - io.stargate.auth.SourceAPI
-
Used for REST and Docs API, as historically they were one.
- roleName() - Method in interface io.stargate.auth.AuthenticationSubject
- roleName() - Method in interface io.stargate.auth.entity.Actor
- roleName() - Method in class io.stargate.auth.entity.ImmutableActor
- roleName() - Method in class io.stargate.auth.ImmutableAuthenticationSubject
- roleName(String) - Method in class io.stargate.auth.entity.ImmutableActor.Builder
-
Initializes the value for the
roleNameattribute. - roleName(String) - Method in class io.stargate.auth.ImmutableAuthenticationSubject.Builder
-
Initializes the value for the
roleNameattribute.
S
- Scope - Enum in io.stargate.auth
- SELECT - io.stargate.auth.Scope
- SourceAPI - Enum in io.stargate.auth
-
Defines what API is a source of the request performing the authorization.
T
- TABLE - io.stargate.auth.entity.ResourceKind
- toCustomPayload(Map<String, ByteBuffer>) - Method in enum io.stargate.auth.SourceAPI
- token() - Method in interface io.stargate.auth.AuthenticationSubject
- token() - Method in class io.stargate.auth.ImmutableAuthenticationSubject
- token(String) - Method in class io.stargate.auth.ImmutableAuthenticationSubject.Builder
-
Initializes the value for the
tokenattribute. - tokenMaxLength - Variable in class io.stargate.auth.PlainTextTokenSaslNegotiator
- tokenUsername - Variable in class io.stargate.auth.PlainTextTokenSaslNegotiator
- toString() - Method in class io.stargate.auth.entity.EntitySelector
- toString() - Method in class io.stargate.auth.entity.ImmutableAccessPermission
-
Prints the immutable value
AccessPermissionwith attribute values. - toString() - Method in class io.stargate.auth.entity.ImmutableActor
-
Prints the immutable value
Actorwith attribute values. - toString() - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Prints the immutable value
AuthorizedResourcewith attribute values. - toString() - Method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Prints the immutable value
AuthenticationSubjectwith attribute values. - TRIGGER - io.stargate.auth.entity.ResourceKind
- TRUNCATE - io.stargate.auth.Scope
- TYPE - io.stargate.auth.entity.ResourceKind
- TypedKeyValue - Class in io.stargate.auth
- TypedKeyValue(String, TypedValue) - Constructor for class io.stargate.auth.TypedKeyValue
- TypedKeyValue(String, Column.ColumnType, Object) - Constructor for class io.stargate.auth.TypedKeyValue
U
- UnauthorizedException - Exception in io.stargate.auth
- UnauthorizedException(String) - Constructor for exception io.stargate.auth.UnauthorizedException
- UnauthorizedException(String, Throwable) - Constructor for exception io.stargate.auth.UnauthorizedException
V
- validateToken(String) - Method in interface io.stargate.auth.AuthenticationService
- validateToken(String, ClientInfo) - Method in interface io.stargate.auth.AuthenticationService
- validateToken(String, Map<String, String>) - Method in interface io.stargate.auth.AuthenticationService
- valueOf(String) - Static method in enum io.stargate.auth.AuthorizationOutcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.stargate.auth.entity.ResourceKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.stargate.auth.PermissionKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.stargate.auth.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.stargate.auth.SourceAPI
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.stargate.auth.AuthorizationOutcome
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.stargate.auth.entity.ResourceKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.stargate.auth.PermissionKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.stargate.auth.Scope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.stargate.auth.SourceAPI
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VIEW - io.stargate.auth.entity.ResourceKind
W
- wildcard() - Static method in class io.stargate.auth.entity.EntitySelector
- withCustomProperties(Map<String, String>) - Method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Copy the current immutable object by setting a value for the
customPropertiesattribute. - withElement(EntitySelector) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Copy the current immutable object by setting a value for the
elementattribute. - withIsFromExternalAuth(boolean) - Method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Copy the current immutable object by setting a value for the
isFromExternalAuthattribute. - withKeyspace(EntitySelector) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Copy the current immutable object by setting a value for the
keyspaceattribute. - withKind(ResourceKind) - Method in class io.stargate.auth.entity.ImmutableAuthorizedResource
-
Copy the current immutable object by setting a value for the
kindattribute. - withName(String) - Method in class io.stargate.auth.entity.ImmutableAccessPermission
-
Copy the current immutable object by setting a value for the
nameattribute. - withRoleName(String) - Method in class io.stargate.auth.entity.ImmutableActor
-
Copy the current immutable object by setting a value for the
roleNameattribute. - withRoleName(String) - Method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Copy the current immutable object by setting a value for the
roleNameattribute. - withToken(String) - Method in class io.stargate.auth.ImmutableAuthenticationSubject
-
Copy the current immutable object by setting a value for the
tokenattribute.
All Classes All Packages