Interface AuthConfig.TokenResolverConfig
- Enclosing interface:
- AuthConfig
public static interface AuthConfig.TokenResolverConfig
Configuration mapping for the token resolver.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionfixed()header()type()Cassandra token resolver type, possible options:header- reads Cassandra token from the HTTP request header (seeHeaderTokenResolver}principal- reads Cassandra token from the securityPrincipalname (seePrincipalTokenResolver}fixed- fixed token supplied by the configuration (seeFixedTokenResolver}custom- allows configuring custom token resolver If unset, noop resolver will be used.
-
Method Details
-
type
Cassandra token resolver type, possible options:header- reads Cassandra token from the HTTP request header (seeHeaderTokenResolver}principal- reads Cassandra token from the securityPrincipalname (seePrincipalTokenResolver}fixed- fixed token supplied by the configuration (seeFixedTokenResolver}custom- allows configuring custom token resolver
- Returns:
- The type of the
CassandraTokenResolverused.
-
header
- Returns:
- Specific settings for the
headertoken resolver type.
-
fixed
- Returns:
- Specific settings for the
fixedtoken resolver type.
-