Interface HttpSessionInvalidator
public interface HttpSessionInvalidator
Service contract for internal invalidation of HTTP Sessions.
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
-
Method Summary
-
Method Details
-
invalidateSession
void invalidateSession(String subjectName, Function<Map<String, Object>, String> sessionSubjectExtractor) - Parameters:
subjectName- Security subject name to invalidate in the server's cache of active HTTP SessionssessionSubjectExtractor- Function to extract a subject name from an HTTP Session; this function is dependent upon the structure of the sessions stored in the server, which structure may not be knowable to the session cache itself.
-