Hello,
Another question, a little more involving.
Say I have user1 and user1 can access Keyspace1, user2 can do keyspace2 and so on.
How can I access different keyspaces depending on the user?
What I would like to do is a REST api that is multi-tenant.
In other words, user1 logs in and gets his credeantials checked against Cassandra's system_auth.
I then know that user1 can only access keyspace1.
How do I set up my REST api so that the repository for operations on Cassandra will only perform operations on that user's keyspace?
I wonder if I should have a Cassandra Bean for each user when he logs in and is active to its session.
Gets confusing when you have a connection pool. If each user can only access his own keyspaces.
In other words, how can I make this REST api multi-tenant ?
Thank you.