标签:span apache att use util log attr on() apach
Subject currentUser = SecurityUtils.getSubject(); Session session = currentUser.getSession(); session.setAttribute("someKey", someValue);
可以通过与当前执行的Subject 交互来获取Session;
关于org.apache.shiro.SecurityUtils.getSubject().getSession()
标签:span apache att use util log attr on() apach
原文地址:http://www.cnblogs.com/java-synchronized/p/6538629.html