課程
/后端開發(fā)
/Java
/Shiro安全框架入門
。。。。。。
2018-12-23
源自:Shiro安全框架入門 3-5
正在回答
老師可能寫的隨意了點,我覺得就是username,事實上我也是這么去寫的,沒有問題
舉報
從零入門Shiro安全框架
2 回答SimpleAuthenticationInfo對象參數(shù)
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 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2018-12-25
老師可能寫的隨意了點,我覺得就是username,事實上我也是這么去寫的,沒有問題