Consolidate session management into KSessionService

RefactorSecurityService
Navios
24 de outubro de 2025 às 19:51 UTC
Autor
snadjafinia
Enviar
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.

Todas as alterações

Como o que vês no transporte?

Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.

Começar Livre Para SempreVer Preços