Package com.svenruppert.jsentinel.authentication
package com.svenruppert.jsentinel.authentication
-
ClassDescriptionAuthentication facade for long-lived API keys, sitting on top of an
ApiKeyStore+PasswordHasher.Persistent representation of a single long-lived API key.Persistent store forApiKeyRecords — backs the planned API-key authentication flow (V00.70 Phase 7b).SPI contract for credential validation and subject loading.In-memoryApiKeyStorebacked by aLinkedHashMapsoInMemoryApiKeyStore.listBySubject(TenantId, SubjectId)preserves insertion order.In-memoryRefreshTokenStorebacked by aConcurrentHashMap.In-memoryRememberMeTokenStorebacked by aConcurrentHashMapkeyed on the token hash.Typed representation of a stored password hash.Password hashing abstraction.PBKDF2-HMAC-SHA256 hasher using only JDK APIs.Persistent representation of a single rotating refresh token.Persistent store forRefreshTokenRecords — backs the planned rotating-refresh-token flow (V00.70 Phase 7b).Persistent representation of a single "remember me" token.Persistent store forRememberMeTokenRecords — backs the planned "remember me" / persistent-login flow (V00.70 Phase 7)."Remember me" / persistent-login service built on top of aRememberMeTokenStoreand aPasswordHasher.Tuple returned fromStoreBackedRememberMeService.issue(SubjectId, Duration): the plain token (caller passes it to the client carrier and drops it) and the persisted record (handy for tests / audit hooks).Access + rotating refresh token issuance on top of aRefreshTokenStore.