开发者

SecurityFlushSessionListener in jboss

In jboss-web.deployer/conf/web.xml there is a listener defined called SecurityFlustSessionListener.

This listener searches for the component java:comp/env/security/securityMgr and if not found prints that info in the debug log. It is understood that if this security feature is not needed then, one can simply remove this listener.

How have you used this listener for configuring security at the time of session destroyin开发者_开发百科g? As in, can you highlight the use cases of this listener and the scenarios where it was found useful?


This listener is used to flush the security domain cache when the session expires instead of waiting for the expiry time of the security domain cache. If no security domain specific info is being used - then this can be removed - or one change configure the expiry policy of the cache instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜