﻿<?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-stillanother-文章分类-j2ee</title><link>http://www.blogjava.net/stillanother/category/6864.html</link><description /><language>zh-cn</language><lastBuildDate>Fri, 02 Mar 2007 02:06:36 GMT</lastBuildDate><pubDate>Fri, 02 Mar 2007 02:06:36 GMT</pubDate><ttl>60</ttl><item><title>扩展acegi security实现“细粒度权限”</title><link>http://www.blogjava.net/stillanother/articles/27316.html</link><dc:creator>stillanother</dc:creator><author>stillanother</author><pubDate>Mon, 09 Jan 2006 13:41:00 GMT</pubDate><guid>http://www.blogjava.net/stillanother/articles/27316.html</guid><wfw:comment>http://www.blogjava.net/stillanother/comments/27316.html</wfw:comment><comments>http://www.blogjava.net/stillanother/articles/27316.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/stillanother/comments/commentRss/27316.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/stillanother/services/trackbacks/27316.html</trackback:ping><description><![CDATA[<A href="http://forum.javaeye.com/viewtopic.php?t=17896">http://forum.javaeye.com/viewtopic.php?t=17896</A><BR>&gt;<BR><SPAN class=postbody>有这样的功能需求： <BR>普通职员能划拨10万以下的资金； <BR>经理能划拨100万以下的资金； <BR>董事长划拨1000万以下的资金； <BR><BR>而且，以后资金的数量大小可以会变动，能修改资金数量值。 <BR><BR>也就是说，要达到实例级或字段级的权限，用acegi能否做到呢？或者还是用其它什么方法可以实现呢？ <BR><BR>期待中!</SPAN><BR>&lt;<BR><BR>可以用java，Groovy脚本或BeanShell脚本实现你的逻辑，<BR>代码及测试如下：<A href="/Files/stillanother/AcegiSecurityTest.zip"><BR>http://www.blogjava.net/Files/stillanother/AcegiSecurityTest.zip</A><BR>编译，运行测试需要以下包：<BR>cglib-nodep-2.1_3.jar<BR>commons-logging.jar<BR>log4j-1.2.9.jar<BR>spring.jar<BR>groovy-1.0-jsr-04.jar<BR>asm-2.1.jar<BR>antlr-2.7.5.jar<BR>bsh-core-2.0b4.jar<BR>acegi-security-1.0.0-RC1.jar<BR>junit.jar<img src ="http://www.blogjava.net/stillanother/aggbug/27316.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/stillanother/" target="_blank">stillanother</a> 2006-01-09 21:41 <a href="http://www.blogjava.net/stillanother/articles/27316.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>