Consolidate session management into KSessionService

RefactorSecurityService
Ya
24 Oktoba 2025, 19:51 UTC
Mwandishi
snadjafinia
Ahadi ya
78138d8

- Deleted duplicate KTokenSessionService - Enhanced KSessionService with: * getSessionTTL() - get Redis key TTL * getSessionInfo() - get session data + TTL for monitoring * extendSession() - manually extend session expiration * Sliding expiration in getSession() - auto-refresh TTL on access - Updated SecurityController endpoints to use unified KSessionService: * /api/security/session/info * /api/security/session/extend - Removed KTokenSessionService imports and autowiring This fixes the duplication where both services were using the same Redis key prefix (***) but storing different data formats, causing conflicts.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei