apache shiro整合struts2+spring+mybatis简单demo
先上一段shiro中获取数据源的代码,Demo见附件
public class AuthenticationRealm extends AuthorizingRealm {
private static final Logger log = LoggerFactory.getLogger(AuthenticationRealm.class);
@Autow...
2012-03-28 15:47:28 ·
175 阅读 ·
0 评论