Interface SessionLogoutHandler

All Known Implementing Classes:
DefaultSessionLogoutHandler

public interface SessionLogoutHandler
This interface defines how to handle logout requests on client side. For the CAS support, the key is the service ticket. For the SAML support, the key is the session index or the nameID. For the OIDC support, the key is the ssid claim.
Since:
1.9.2
Author:
Jerome Leleu
  • Method Details

    • recordSession

      default void recordSession(CallContext ctx, String key)
      Associates a key with the current web session.
      Parameters:
      ctx - the context
      key - the key
    • destroySession

      default void destroySession(CallContext ctx, String key)
      Destroys the current web session for the given key for a front or back channel logout.
      Parameters:
      ctx - the context
      key - the key
    • renewSession

      default void renewSession(CallContext ctx, String oldSessionId)
      Renew the web session.
      Parameters:
      ctx - the context
      oldSessionId - the old session identifier