Interface SessionFilteringStrategy

All Known Implementing Classes:
AnonymousSessionFilteringStrategy

public interface SessionFilteringStrategy
An interface for session persisting strategies. A particular strategy should define what kind of session should be persisted or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldPersist(PersistedSession persistedSession)
    Checks if a session should be persisted.
  • Method Details

    • shouldPersist

      boolean shouldPersist(PersistedSession persistedSession)
      Checks if a session should be persisted.
      Parameters:
      persistedSession - session that should be checked
      Returns:
      true is session should be persisted or false is session shouldn't be persisted