2017-09-20 69 views
0

如何在Web項目中實現Apache Shiro和Cassandra Database之間的連接,以便shiro會話管理從Cassandra數據庫獲取用戶名和密碼?連接Apache Shiro和Cassandra數據庫

我有一個web項目(木偶),其中有一個登錄表單。我希望shiro根據從Cassandra數據庫讀取的用戶名和密碼執行認證,而不是shiro.ini文件。

我無法建立兩者之間的聯繫。

我遵循以下鏈接,但它使用shiro ini文件來驗證用戶而不是cassandra數據庫。

https://github.com/lhazlewood/shiro-cassandra-sample

回答