- 博客(3)
- 资源 (6)
- 收藏
- 关注
原创 spring+shiro
spring集成shiro做用户主证及资源授权 1 FormAuthenticationFilter过滤器来接收数据及验证码处理。 2. 自定义Realm继承AuthorizingRealm,此类有两个核心方法doGetAuthenticationInfo(认证),doGetAuthorizationInfo(授权),未登陆用户shiro会自动调do
2017-09-07 20:57:21
175
原创 spring+ehcache集群
ehcache的三种最为常用集群方式,分别是 RMI、JGroups 以及 EhCache Server 。 今天自己配制了一下rmi方式。 ehcache集群配制文件 配置提供者 集群ip与端口 1、peerDiscovery,提供者方式,有两种方式:自动发现(automatic)、手动配置(manual) 2
2017-09-07 17:29:41
276
原创 spring+ehcahe
1 添加jar包支持 net.sf.ehcache ehcache 2.10.4 2 配制ehcahe.xml :当内存缓存中对象数量超过maxElementsInMemory时,将缓存对象写到磁盘缓存中(需对象实现序列化接口)。 -->
2017-09-07 17:23:21
554
spring+shiro实现身份认证授权
2017-09-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人