課程
/后端開發
/Java
/Shiro安全框架入門
。。。。。。
2018-12-23
源自:Shiro安全框架入門 3-5
正在回答
老師可能寫的隨意了點,我覺得就是username,事實上我也是這么去寫的,沒有問題
舉報
從零入門Shiro安全框架
2 回答SimpleAuthenticationInfo對象參數
1 回答為什么我的simpleAuthenticationInfo里沒有setStringPermissions方法
2 回答SimpleAuthenticationInfo找不到方法
2 回答protected Serializable doCreate(Session session) 這個方法中的sessionId是做什么的?
2 回答 User user=getPassWordByUserName(userName); if(user==null){ return null; } SimpleAuthenticationInfo authenticationInfo=new SimpleAuthenticationInfo(user.getUsername(),user.getPassword(),"customRealm");
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-12-25
老師可能寫的隨意了點,我覺得就是username,事實上我也是這么去寫的,沒有問題