Package org.uberfire.ext.security.server
Class CleanupSecurityCacheSessionListener
- java.lang.Object
-
- org.uberfire.ext.security.server.CleanupSecurityCacheSessionListener
-
- All Implemented Interfaces:
EventListener,javax.servlet.http.HttpSessionListener
@WebListener public class CleanupSecurityCacheSessionListener extends Object implements javax.servlet.http.HttpSessionListener
Releases locks on session end and clear authz related caches.
-
-
Constructor Summary
Constructors Constructor Description CleanupSecurityCacheSessionListener()CleanupSecurityCacheSessionListener(javax.enterprise.inject.Instance<org.uberfire.security.authz.AuthorizationManager> authorizationManagers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsessionCreated(javax.servlet.http.HttpSessionEvent se)voidsessionDestroyed(javax.servlet.http.HttpSessionEvent se)
-
-
-
Method Detail
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionCreatedin interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionDestroyedin interfacejavax.servlet.http.HttpSessionListener
-
-