【shiro】(4)---Shiro認證、授權案例講解

Shiro認證、授權案例講解   一、認證  1、 認證流程     2、用戶密碼已經加密、加鹽的用戶認證  (1)測試類 // 用戶登陸和退出,這裏我自定了一個realm(開發肯定需要自定義realm獲取數據庫密碼和權限) @Test public void testCustomRealmMd5() { // 創建securityManager工廠,通過in
相關文章
相關標籤/搜索