Class JwtAuthTest

    • Constructor Detail

      • JwtAuthTest

        public JwtAuthTest()
    • Method Detail

      • 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)