Consolidate session management into KSessionService

RefactorSecurityService
Shiked
24 Ekim 2025 19:51 UTC
Yazar
snadjafinia
Commit
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.

Tüm değişiklikler

Kargoyu gördüğünüz gibi?

İş alanınızda bu güncellemelerden her biri otomatik olarak. Ücretsiz başlayın ve haftadan sonra büyümesini izleyin.

Sonsuza Kadar Ücretsiz BaşlangıçFırsatları Görüntüle