ITeye博客

2011 年文章归档

共 2 篇文章

就是因为一个注解 就一个上午

@Transactional public class BaseDaoImpl implements BaseDao { protected Logger log = LoggerFactory.getLogger(getClass()); // HibernateTemplate protected SessionFactory sessionFactory; @Resource public void setSessionFactory(SessionFactory sessionFactory) { System.out.println("the set sesionF"); this…

2011-11-04 13:17 · spring security 3.1 hibernate getSession sessionFactory.getCurrentSession

spring security 3 多页面登录 小秘密小运气

首先 多谢这两篇文章的作者 一:http://www.iteye.com/topic/1113842 多页面登录 二:http://blog.csdn.net/k10509806/article/details/6436987 filter测试 如果跟着上面都不成功 实现多页面登录需求的话, 下面可能的好的哦! 最近,好想搞 spring security 3 前后台 多页面登录,跟着他们来配 不起用! 我的 MyLoginUrlEntryPoint implements AuthenticationEntryPoint就是进不去commence方法 ,,,观察后 , 和我的运气 测试得到了…

2011-10-25 19:51 · spring security 3.1