![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
iteye_8186
这个作者很懒,什么都没留下…
展开
-
Hibernate4 + ehcache.
开篇先写结论:Hibernate4 想使用 ehcache 时做二级缓存时,不使用 EHCache 提供的:[b]hibernate.cache.region.factory_class[/b]请无视 EHcache 网站上的 document , 那是针对 Hibernate 3.X 的.Hibernate 4.X 有自己对其他 Cache 框架的支持.具体修改的地方:...2012-12-24 19:40:20 · 90 阅读 · 0 评论 -
Java 获取本机网卡地址.
[code="java"] public static List getAllMacAddresses() { List addresses = new ArrayList(); StringBuffer sb = new StringBuffer(); try { Enumeration networkInterfaces = NetworkInter...2012-12-26 17:06:59 · 138 阅读 · 0 评论 -
Spring Data JPA,基础学习笔记.
http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/[size=x-large]1. Spring 配置简述.[/size][code="java"] org.e.test.*...2012-12-28 12:13:35 · 124 阅读 · 0 评论 -
Spring Security Embadded LDAP
Reference : http://lengyun3566.iteye.com/blog/1358310 http://www.zytrax.com/books/ldap/ch5/index.html#step1-ldif http://krams915.blogspot.hk/2011/01/spring-security-mvc-using-embedded-ldap.html...原创 2013-03-15 09:28:39 · 103 阅读 · 0 评论 -
搭建 Apache Directory Server
先下载 Apache DShttp://directory.apache.org/apacheds/downloads.html然后下载 Apache Directory Studiohttp://directory.apache.org/studio/downloads.html然后使用 Studio 连接 Apache DS,url指向那个机器,端口是 10389 ....原创 2013-03-18 15:24:00 · 414 阅读 · 0 评论 -
Spring Security , authenticate use LDAP& DataBase.
基础部分参见:http://suene.iteye.com/blog/1829807[code="xml"] [/code][code="java"]/** 先根据属性 {@link #authenticateByLdap }, 是否使用 LDAP 验证 用户信息. 否则使用数据库查询验证用户....原创 2013-03-18 17:32:29 · 142 阅读 · 0 评论