public class

HttpSessionDestroyedEvent

extends SessionDestroyedEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ org.springframework.context.ApplicationEvent
       ↳ org.springframework.security.core.session.SessionDestroyedEvent
         ↳ org.springframework.security.web.session.HttpSessionDestroyedEvent

Class Overview

Published by the HttpSessionEventPublisher when a HttpSession is created in the container

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
HttpSessionDestroyedEvent(HttpSession session)
Public Methods
String getId()
List<SecurityContext> getSecurityContexts()
Provides the SecurityContext instances which were associated with the destroyed session.
HttpSession getSession()
[Expand]
Inherited Methods
From class org.springframework.security.core.session.SessionDestroyedEvent
From class org.springframework.context.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public HttpSessionDestroyedEvent (HttpSession session)

Public Methods

public String getId ()

Returns
  • the identifier associated with the destroyed session.

public List<SecurityContext> getSecurityContexts ()

Provides the SecurityContext instances which were associated with the destroyed session. Usually there will be only one security context per session.

Returns
  • the SecurityContext instances which were stored in the current session (an empty list if there are none).

public HttpSession getSession ()