Package io.stargate.it.cql
Class JwtAuthTest
- java.lang.Object
-
- io.stargate.it.BaseIntegrationTest
-
- io.stargate.it.cql.JwtAuthTest
-
- Direct Known Subclasses:
JwtAuthTest.WithV4ProtocolVersionTest
,JwtAuthTest.WithV5ProtocolVersionTest
@ExtendWith(CqlSessionExtension.class) @Order(2147483647) public abstract class JwtAuthTest extends BaseIntegrationTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JwtAuthTest.WithV4ProtocolVersionTest
static class
JwtAuthTest.WithV5ProtocolVersionTest
-
Field Summary
-
Fields inherited from class io.stargate.it.BaseIntegrationTest
backend
-
-
Constructor Summary
Constructors Constructor Description JwtAuthTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
buildParameters(StargateParameters.Builder builder)
void
createAlterDropTable(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
void
createKeyspaceUnauthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
void
createTableUnauthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
void
insert(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
void
insertNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
void
insertPreparedStatement(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
void
insertPreparedStatementNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
void
invalidCredentials(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
void
selectNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
void
setup(com.datastax.oss.driver.api.core.CqlSession session)
static void
teardown()
void
tokenAuthentication(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
void
update(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
void
updateNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
void
useKeyspace(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
Methods inherited from class io.stargate.it.BaseIntegrationTest
backendSupportsSAI, init, isCassandra4, isCassandra41, now, withProtocolV4, withProtocolV5
-
-
-
-
Method Detail
-
buildParameters
public static void buildParameters(StargateParameters.Builder builder) throws IOException
- Throws:
IOException
-
teardown
@AfterAll public static void teardown()
-
setup
@BeforeEach public void setup(com.datastax.oss.driver.api.core.CqlSession session) throws IOException
- Throws:
IOException
-
invalidCredentials
@Test public void invalidCredentials(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
tokenAuthentication
@Test public void tokenAuthentication(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
useKeyspace
@Test public void useKeyspace(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
createKeyspaceUnauthorized
@Test public void createKeyspaceUnauthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
createTableUnauthorized
@Test public void createTableUnauthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
insertPreparedStatement
@Test public void insertPreparedStatement(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
insertPreparedStatementNotAuthorized
@Test public void insertPreparedStatementNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
insert
@Test public void insert(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
insertNotAuthorized
@Test public void insertNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
selectNotAuthorized
@Test public void selectNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
update
@Test public void update(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
updateNotAuthorized
@Test public void updateNotAuthorized(com.datastax.oss.driver.api.core.CqlSessionBuilder builder, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
createAlterDropTable
@Test public void createAlterDropTable(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
-