Free Open Source Project Hosting Disappointed with SourceForge?Host your project at JavaForge! JavaForge.com
Ads by DZone
Formerly called ACEGI Security for Spring, the re-branded Spring Security 2.0 has delivered on its promises of making it simpler to use and improving developer product ...
Sometimes you may be wanna get all users who connected to your server in order to manage them, such as force to kill someone's session. When sessionRegistry.getAllPrincipals() methods will get it's play show, this method could get all the connetced users, although that implementation would pre ...
1. 问题提出
在使用 Acegi Security Framework 的过程中, 如果细心的话, 会发现其资源和角色配置是在配置文件中的, 下面是 Appfuse 中相关配置 :
<bean id="filterInvocationInterceptor" class="net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor">
<property name="authenticationManager"><ref local="authenticationManager"/>< ...
2008-01-16
Bug : LogoutFilter return a 404 on Websphere 6.0.2
关键字: application servers, security
Environment: Windows Xp + Websphere 6.0.2.0 + IBM JDK/JRE 1.4.2
Description: When I click logout.jsp, it returns a 404.
However, acegi sample app logouot work on websphere 6.0.2
Matt suggest the following temp solution:
Remove logoutFilter from security.xml (as a bean definition and in the filt ...
主要是通用改写扩展authenticationProcessingFilter类来实现,当然还有开源框架JCaptcha来生成验证码
public class AuthenticationProcessingFilter implements Filter, InitializingBean, ApplicationEventPublisherAware {
public static final String ACEGI_SAVED_REQUEST_KEY = "ACEGI_SAVED_REQUEST_KEY";
public static final String ACEGI_S ...
1.Filter 组件
HttpSessionContextIntegrationFilter
该Filter 负责每次请求从HttpSession中获取Authentication对象,然后把Authentication存于一个新的 ContextHolder对象(其实质上只是一个ThreadLocal对象)中,则让该次请求过程中的任何Filter都可以通过 ContextHolder来共享Authentication,而不需要从HttpSession中取,减少传HttpRequest参数的麻烦.在请求完后把Authentication对象保存到HttpSession中供下次请求使用,最 ...
- 浏览: 9494 次
- 性别:

- 来自: 武汉

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
利用Java实现串口全双工通 ...
引用xieke 前天 8年前的老文章还拿出来??? 不好意思哥们,最近要搞这个 ...
-- by ispring -
利用Java实现串口全双工通 ...
8年前的老文章还拿出来???
-- by xieke -
Pathway from ACEGI to Sp ...
对啊 有没有正确版本啊
-- by jianfeng008cn -
Pathway from ACEGI to Sp ...
MySecureResourceFilter ,配置上之后根本不执行!
-- by wmj2003 -
页面右下角弹出类似QQ或MS ...
o(∩_∩)o...不错不错~~~~
-- by senbao18






评论排行榜