Interface SessionTypeFilter

  • All Known Subinterfaces:
    SessionTypeFilterPlugin

    public interface SessionTypeFilter
    A filter that determines whether a type is safe for session usage.

    Most applications should not need to use or implement this interface. By default, an implementation is used that allows:

    If this strategy is unsuitable, a custom implementation of this interface may be provided.
    Since:
    1.9
    • Method Detail

      • allow

        boolean allow​(java.lang.String className)
        Indicates whether the given type is allowed to be stored or loaded from session data.
        Parameters:
        className - the name of a class to check
        Returns:
        whether or the not type can be used