public abstract class

SessionDestroyedEvent

extends ApplicationEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ org.springframework.context.ApplicationEvent
       ↳ org.springframework.security.core.session.SessionDestroyedEvent
Known Direct Subclasses

Class Overview

Generic "session termination" event which indicates that a session (potentially represented by a security context) has ended.

Summary

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

Public Constructors

public SessionDestroyedEvent (Object source)

Public Methods

public abstract String getId ()

Returns
  • the identifier associated with the destroyed session.

public abstract 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).