flex通过blazeds和java(spring+hibernate)通信时的权限控制(spring security)有关问题

flex通过blazeds和java(spring+hibernate)通信时的权限控制(spring security)问题。
本人工程需要,使用flex+blazeds+spring+hibernate框架完成。
可是碰到的问题是:不会使用spring security来进行权限控制,请大家给我个建议,应该怎么做?

我在网上查过:
1、http://blog.csdn.net/meteorlWJ/archive/2009/09/13/4547759.aspx(个人觉得太复杂,大概能看懂,没有调试)
2、http://blog.csdn.net/hxx688/archive/2009/06/10/4258765.aspx(很简单,但是源码不全,看不大懂)
3、http://www.family168.com/oa/springsecurity/html/index.html(按照这个教程,没有成功,不能拦截)
我用的是:
<http auto-config='true'>
        <intercept-url pattern="/**"/>
    </http>
4、http://blog.csdn.net/daigua245/archive/2009/03/03/3952332.aspx(版本最多,但是不能成功)

真是要谢谢好心人啊 !!

------解决方案--------------------
 blazeds官网上好像有spring security 的例子
------解决方案--------------------
blazeds官网上的确有。
这个就是配置拦截器,拦截请求,添加,或者处理相关的信息。甚至校验信息。
先照着例子做一遍,然后再想想。也不是很难