Issue Task Closed

#94243Introduce session cookie signature

Oliver Hader 05/31/21, 13:27 updated 10/04/22, 14:11

Description

Several performance analysis showed that AbstractUserAuthentication takes a reasonable amount of processing time (~ 5-10% of total), even if a session ID are not given or invalid. In order to reduce database invocations for invalid sessions, a corresponding HMAC signature is added to HTTP cookie values.

Additional aspects

Next steps (out of scope for this issue)

  • try avoid loading AbstractUserAuthentication in general
    • probably check cookie signature in middleware already
    • separate authentication into session-cookie vs. login-process

Reviews 1