Open
Description
While reviewing the code in UpdateAccessTokenFilter.java
I stumbled upon the following lines
which struck me as odd. In fact, session.stop()
is called only twice in the whole WebAPI code base, both times in this UpdateAccessTokenFilter
class. Given UpdateAccessTokenFilter
's place in the grand scheme of filters configured, the above lines seem to always be called upon login, and result in an immediate end of the session that actually just started... The rest of the user interactions seem to continue based on token authentication alone.
Code blame shows that the code itself and the surrounding parts are many years old.
Questions:
- Would it be possible to find more details on why the
session.stop()
was added here? - Do we need sessions at all?
Metadata
Assignees
Labels
No labels
Activity