cas單點登入客戶端記錄登入日志的時候,調(diào)用shiro中的獲取用戶姓名獲取不到,我是用的aop日志管理給單點登入后跳轉(zhuǎn)的controller上加了切面。=======================================@AuditLog(remark = AuditLogType.USER_LOGIN) @RequestMapping("/pointlogin.jsp/{ticket}") public String pointloginByTickit(@PathVariable("ticket") String ticket,Model m) { logger.debug("=======2========="); m.addAttribute("ticket", ticket); return "redirect:/report/list"; }=======================================這個是配置文件@Bean public Realm casrealm() { CASRealm realm = new CASRealm(); realm.setCasServerUrlPrefix("http://10.35.252.77:9080/cas"); realm.setCasService("http://10.35.128.77:81/pointlogin.jsp"); return realm; }=======================================客戶端還有其他的方法記錄登入日志嗎?大牛們幫幫忙
添加回答
舉報
0/150
提交
取消