﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-菜园子-最新评论</title><link>http://www.blogjava.net/ghostzhang/commentsrss.aspx</link><description /><language>zh-cn</language><pubDate>Wed, 27 Aug 2014 07:10:54 GMT</pubDate><lastBuildDate>Wed, 27 Aug 2014 07:10:54 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: Shiro权限框架</title><link>http://www.blogjava.net/ghostzhang/archive/2014/03/11/358837.html#410866</link><dc:creator>JSON</dc:creator><author>JSON</author><pubDate>Tue, 11 Mar 2014 05:09:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2014/03/11/358837.html#410866</guid><description><![CDATA[页面怎么获取session<img src ="http://www.blogjava.net/ghostzhang/aggbug/410866.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">JSON</a> 2014-03-11 13:09 <a href="http://www.blogjava.net/ghostzhang/archive/2014/03/11/358837.html#410866#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Shiro权限框架</title><link>http://www.blogjava.net/ghostzhang/archive/2012/04/25/358837.html#376605</link><dc:creator>wgw</dc:creator><author>wgw</author><pubDate>Wed, 25 Apr 2012 08:37:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2012/04/25/358837.html#376605</guid><description><![CDATA[@唐文韬<br><br>  &lt;bean class=&quot;org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator&quot;<br>          depends-on=&quot;lifecycleBeanPostProcessor&quot;&gt;<br>          &lt;property name=&quot;proxyTargetClass&quot; value=&quot;true&quot; /&gt;  &lt;!-- 和struts结合使用必须把该属性设置为true，否则使用注解出错 --&gt;    <br>          &lt;/bean&gt;<br>OK<img src ="http://www.blogjava.net/ghostzhang/aggbug/376605.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">wgw</a> 2012-04-25 16:37 <a href="http://www.blogjava.net/ghostzhang/archive/2012/04/25/358837.html#376605#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Shiro权限框架[未登录]</title><link>http://www.blogjava.net/ghostzhang/archive/2012/03/04/358837.html#371200</link><dc:creator>ghostzhang</dc:creator><author>ghostzhang</author><pubDate>Sun, 04 Mar 2012 01:30:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2012/03/04/358837.html#371200</guid><description><![CDATA[cglib-nodep-2.2.jar<br>我用的是这个，添加@RequiresAuthentication，启动没问题。<img src ="http://www.blogjava.net/ghostzhang/aggbug/371200.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">ghostzhang</a> 2012-03-04 09:30 <a href="http://www.blogjava.net/ghostzhang/archive/2012/03/04/358837.html#371200#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Shiro权限框架</title><link>http://www.blogjava.net/ghostzhang/archive/2012/02/29/358837.html#371038</link><dc:creator>唐文韬</dc:creator><author>唐文韬</author><pubDate>Wed, 29 Feb 2012 14:50:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2012/02/29/358837.html#371038</guid><description><![CDATA[你好，我在整合shiro和spring的过程中，我只要给control加@RequiresAuthentication  类似的这种注解，在项目启动的时候就报错<br>Caused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.<br>	at org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:67)<br>	at org.springframework.aop.framework.ProxyCreatorSupport.createAopProxy(ProxyCreatorSupport.java:104)<br>	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:112)<br>	at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:476)<br>	at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:362)<br>	at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322)<br>	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407)<br>	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461)<br>	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)<br>	... 35 more<br><br>可是当我把cglib.jar的包加进去的时候还是报错，期待您的解答<img src ="http://www.blogjava.net/ghostzhang/aggbug/371038.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">唐文韬</a> 2012-02-29 22:50 <a href="http://www.blogjava.net/ghostzhang/archive/2012/02/29/358837.html#371038#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 升级Spring3.1RC2 和Hibernate4.0.0CR7遇到的一些问题及解决</title><link>http://www.blogjava.net/ghostzhang/archive/2011/12/13/366245.html#366288</link><dc:creator>tbw淘宝商城</dc:creator><author>tbw淘宝商城</author><pubDate>Tue, 13 Dec 2011 12:09:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2011/12/13/366245.html#366288</guid><description><![CDATA[升级Spring3.1RC2 和Hibernate4.0.0CR7遇到的一些问题及解决。问题解决了。<br><br><img src ="http://www.blogjava.net/ghostzhang/aggbug/366288.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">tbw淘宝商城</a> 2011-12-13 20:09 <a href="http://www.blogjava.net/ghostzhang/archive/2011/12/13/366245.html#366288#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 升级Spring3.1RC2 和Hibernate4.0.0CR7遇到的一些问题及解决[未登录]</title><link>http://www.blogjava.net/ghostzhang/archive/2011/12/13/366245.html#366267</link><dc:creator>tbw</dc:creator><author>tbw</author><pubDate>Tue, 13 Dec 2011 09:03:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2011/12/13/366245.html#366267</guid><description><![CDATA[收藏了<img src ="http://www.blogjava.net/ghostzhang/aggbug/366267.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">tbw</a> 2011-12-13 17:03 <a href="http://www.blogjava.net/ghostzhang/archive/2011/12/13/366245.html#366267#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 一次定时任务[未登录]</title><link>http://www.blogjava.net/ghostzhang/archive/2011/09/30/358528.html#359865</link><dc:creator>BucketLi</dc:creator><author>BucketLi</author><pubDate>Fri, 30 Sep 2011 07:57:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2011/09/30/358528.html#359865</guid><description><![CDATA[这个简单处理方式有很多. 数据库搞张任务表,放一条记录,每个节点先取这条记录(任务状态是可执行),然后再通过update将value+1并且更新状态,带上先前查询出来的value作为查询条件,这样相当于加了一把乐观锁,因为数据库底层是原子的,所以只有一台机器会更新成功. 这样就达到目的了. 还有稍微复杂点的是通过zk来维持一把任务锁,这样执行任务的只有一台机器,挂掉后另外一台机器抢到锁开始做事情. 当然还有其他方法<img src ="http://www.blogjava.net/ghostzhang/aggbug/359865.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">BucketLi</a> 2011-09-30 15:57 <a href="http://www.blogjava.net/ghostzhang/archive/2011/09/30/358528.html#359865#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Shiro权限框架</title><link>http://www.blogjava.net/ghostzhang/archive/2011/09/20/358837.html#359041</link><dc:creator>wison</dc:creator><author>wison</author><pubDate>Tue, 20 Sep 2011 01:22:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2011/09/20/358837.html#359041</guid><description><![CDATA[@GhostZhang<br>OK,3Q<img src ="http://www.blogjava.net/ghostzhang/aggbug/359041.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">wison</a> 2011-09-20 09:22 <a href="http://www.blogjava.net/ghostzhang/archive/2011/09/20/358837.html#359041#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Shiro权限框架</title><link>http://www.blogjava.net/ghostzhang/archive/2011/09/19/358837.html#358988</link><dc:creator>GhostZhang</dc:creator><author>GhostZhang</author><pubDate>Mon, 19 Sep 2011 06:27:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2011/09/19/358837.html#358988</guid><description><![CDATA[@wison<br>这个需要自己写。<img src ="http://www.blogjava.net/ghostzhang/aggbug/358988.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">GhostZhang</a> 2011-09-19 14:27 <a href="http://www.blogjava.net/ghostzhang/archive/2011/09/19/358837.html#358988#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Shiro权限框架</title><link>http://www.blogjava.net/ghostzhang/archive/2011/09/19/358837.html#358952</link><dc:creator>wison</dc:creator><author>wison</author><pubDate>Mon, 19 Sep 2011 01:22:00 GMT</pubDate><guid>http://www.blogjava.net/ghostzhang/archive/2011/09/19/358837.html#358952</guid><description><![CDATA[@GhostZhang<br>嗯，我说的是业务权限表的设计，好吧，我们不谈权限设置。仅仅谈登录，登录总需要获得帐号密码，和数据库中的比对吧。如何验证，不清楚是需要我们自己去写还是shiro已经封装好了。我仅仅是不清楚这个地方。3Q楼主。<img src ="http://www.blogjava.net/ghostzhang/aggbug/358952.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ghostzhang/" target="_blank">wison</a> 2011-09-19 09:22 <a href="http://www.blogjava.net/ghostzhang/archive/2011/09/19/358837.html#358952#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>