Class 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 Detail

      • CleanupSecurityCacheSessionListener

        public CleanupSecurityCacheSessionListener()
      • CleanupSecurityCacheSessionListener

        @Inject
        public CleanupSecurityCacheSessionListener​(javax.enterprise.inject.Instance<org.uberfire.security.authz.AuthorizationManager> authorizationManagers)
    • Method Detail

      • sessionCreated

        public void sessionCreated​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionCreated in interface javax.servlet.http.HttpSessionListener
      • sessionDestroyed

        public void sessionDestroyed​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionDestroyed in interface javax.servlet.http.HttpSessionListener